diff options
author | Filippos Karapetis | 2007-09-19 08:21:42 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-09-19 08:21:42 +0000 |
commit | 85b1bc594d96bbb1fb9aec3f8e085f219bb52a89 (patch) | |
tree | 4b8ce1008b7e17200b4a9581e6240e3f94c4377c /engines/agi | |
parent | 59f36957e839ca710c2619e9a73c609445aea2b1 (diff) | |
download | scummvm-rg350-85b1bc594d96bbb1fb9aec3f8e085f219bb52a89.tar.gz scummvm-rg350-85b1bc594d96bbb1fb9aec3f8e085f219bb52a89.tar.bz2 scummvm-rg350-85b1bc594d96bbb1fb9aec3f8e085f219bb52a89.zip |
Don't free the picture buffer inside decodePicture(). The buffer should (and is) freed from the functions that decodePicture() is being called from
svn-id: r28964
Diffstat (limited to 'engines/agi')
-rw-r--r-- | engines/agi/picture.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/agi/picture.cpp b/engines/agi/picture.cpp index 3d7ae77b16..21e3daced5 100644 --- a/engines/agi/picture.cpp +++ b/engines/agi/picture.cpp @@ -873,9 +873,6 @@ int PictureMgr::decodePicture(byte* data, uint32 length, int clr, int pic_width, drawPicture(); // Draw 16 color picture. - free(_data); - _data = 0; - return errOK; } |