[Scummvm-cvs-logs] SF.net SVN: scummvm: [28894] scummvm/trunk/engines/agi/picture.cpp
mthreepwood at users.sourceforge.net
mthreepwood at users.sourceforge.net
Tue Sep 11 22:17:37 CEST 2007
Revision: 28894
http://scummvm.svn.sourceforge.net/scummvm/?rev=28894&view=rev
Author: mthreepwood
Date: 2007-09-11 13:17:36 -0700 (Tue, 11 Sep 2007)
Log Message:
-----------
fix regression: free the picture data after decoding a PreAGI picture
Modified Paths:
--------------
scummvm/trunk/engines/agi/picture.cpp
Modified: scummvm/trunk/engines/agi/picture.cpp
===================================================================
--- scummvm/trunk/engines/agi/picture.cpp 2007-09-11 20:09:39 UTC (rev 28893)
+++ scummvm/trunk/engines/agi/picture.cpp 2007-09-11 20:17:36 UTC (rev 28894)
@@ -829,6 +829,9 @@
drawPicture(); // Draw 16 color picture.
+ free(_data);
+ _data = 0;
+
return errOK;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list