[Scummvm-cvs-logs] SF.net SVN: scummvm: [22228] scummvm/trunk/engines/scumm/scumm.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sat Apr 29 09:31:04 CEST 2006
Revision: 22228
Author: fingolfin
Date: 2006-04-29 09:30:46 -0700 (Sat, 29 Apr 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=22228&view=rev
Log Message:
-----------
Added comment about a major leak in ScummEngine::restart
Modified Paths:
--------------
scummvm/trunk/engines/scumm/scumm.cpp
Modified: scummvm/trunk/engines/scumm/scumm.cpp
===================================================================
--- scummvm/trunk/engines/scumm/scumm.cpp 2006-04-29 16:24:39 UTC (rev 22227)
+++ scummvm/trunk/engines/scumm/scumm.cpp 2006-04-29 16:30:46 UTC (rev 22228)
@@ -1978,6 +1978,9 @@
clearOwnerOf(i);
// Reallocate arrays
+ // FIXME: This should already be called by readIndexFile.
+ // FIXME: regardless of that, allocateArrays and allocResTypeData leaks
+ // heavily, which should be fixed.
allocateArrays();
// Reread index (reset objectstate etc)
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