diff options
Diffstat (limited to 'engines/agi')
-rw-r--r-- | engines/agi/picture.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/agi/picture.cpp b/engines/agi/picture.cpp index 2fe40181df..32b6099a29 100644 --- a/engines/agi/picture.cpp +++ b/engines/agi/picture.cpp @@ -829,6 +829,9 @@ int PictureMgr::decodePicture(byte* data, uint32 length, int clear, int pic_widt drawPicture(); // Draw 16 color picture. + free(_data); + _data = 0; + return errOK; } |