[Scummvm-cvs-logs] SF.net SVN: scummvm:[39935] scummvm/trunk/engines/saga/sthread.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sat Apr 11 14:55:22 CEST 2009
Revision: 39935
http://scummvm.svn.sourceforge.net/scummvm/?rev=39935&view=rev
Author: thebluegr
Date: 2009-04-11 12:55:22 +0000 (Sat, 11 Apr 2009)
Log Message:
-----------
Plugged memory leak introduced with rev #39934
Revision Links:
--------------
http://scummvm.svn.sourceforge.net/scummvm/?rev=39934&view=rev
Modified Paths:
--------------
scummvm/trunk/engines/saga/sthread.cpp
Modified: scummvm/trunk/engines/saga/sthread.cpp
===================================================================
--- scummvm/trunk/engines/saga/sthread.cpp 2009-04-11 12:46:00 UTC (rev 39934)
+++ scummvm/trunk/engines/saga/sthread.cpp 2009-04-11 12:55:22 UTC (rev 39935)
@@ -121,6 +121,7 @@
thread->_flags |= kTFlagAborted;
++threadIterator;
} else {
+ delete *threadIterator;
threadIterator = _threadList.erase(threadIterator);
}
continue;
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