[Scummvm-cvs-logs] SF.net SVN: scummvm: [26403] scummvm/trunk/engines/parallaction/animation. cpp
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Sat Apr 7 14:13:51 CEST 2007
Revision: 26403
http://scummvm.svn.sourceforge.net/scummvm/?rev=26403&view=rev
Author: peres001
Date: 2007-04-07 05:13:50 -0700 (Sat, 07 Apr 2007)
Log Message:
-----------
oops forgot to deallocate List nodes after usage
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/animation.cpp
Modified: scummvm/trunk/engines/parallaction/animation.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/animation.cpp 2007-04-07 12:04:27 UTC (rev 26402)
+++ scummvm/trunk/engines/parallaction/animation.cpp 2007-04-07 12:13:50 UTC (rev 26403)
@@ -705,6 +705,12 @@
Program::~Program() {
delete[] _locals;
+
+ InstructionList::iterator it = _instructions.begin();
+ for (; it != _instructions.end(); it++)
+ delete *it;
+
+ _instructions.clear();
}
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