[Scummvm-cvs-logs] SF.net SVN: scummvm:[50606] scummvm/trunk/engines/agi/loader_v3.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sat Jul 3 00:55:56 CEST 2010
Revision: 50606
http://scummvm.svn.sourceforge.net/scummvm/?rev=50606&view=rev
Author: thebluegr
Date: 2010-07-02 22:55:56 +0000 (Fri, 02 Jul 2010)
Log Message:
-----------
AGI: Fixed bug #3017905 - "AGI: GR - Crash on start". A free() was done on an already freed reference
Modified Paths:
--------------
scummvm/trunk/engines/agi/loader_v3.cpp
Modified: scummvm/trunk/engines/agi/loader_v3.cpp
===================================================================
--- scummvm/trunk/engines/agi/loader_v3.cpp 2010-07-02 22:38:42 UTC (rev 50605)
+++ scummvm/trunk/engines/agi/loader_v3.cpp 2010-07-02 22:55:56 UTC (rev 50606)
@@ -229,7 +229,7 @@
if (x[2] & 0x80) { // compressed pic
data = _vm->_picture->convertV3Pic(compBuffer, agid->clen);
- free(compBuffer);
+ // compBuffer has been freed inside convertV3Pic()
} else if (agid->len == agid->clen) {
// do not decompress
data = compBuffer;
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