[Scummvm-cvs-logs] SF.net SVN: scummvm: [28964] scummvm/trunk/engines/agi/picture.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Wed Sep 19 10:21:43 CEST 2007
Revision: 28964
http://scummvm.svn.sourceforge.net/scummvm/?rev=28964&view=rev
Author: thebluegr
Date: 2007-09-19 01:21:42 -0700 (Wed, 19 Sep 2007)
Log Message:
-----------
Don't free the picture buffer inside decodePicture(). The buffer should (and is) freed from the functions that decodePicture() is being called from
Modified Paths:
--------------
scummvm/trunk/engines/agi/picture.cpp
Modified: scummvm/trunk/engines/agi/picture.cpp
===================================================================
--- scummvm/trunk/engines/agi/picture.cpp 2007-09-19 08:16:37 UTC (rev 28963)
+++ scummvm/trunk/engines/agi/picture.cpp 2007-09-19 08:21:42 UTC (rev 28964)
@@ -873,9 +873,6 @@
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