[Scummvm-cvs-logs] SF.net SVN: scummvm: [31565] scummvm/trunk/engines/kyra/kyra_v3.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Fri Apr 18 23:44:56 CEST 2008


Revision: 31565
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31565&view=rev
Author:   lordhoto
Date:     2008-04-18 14:44:55 -0700 (Fri, 18 Apr 2008)

Log Message:
-----------
Fixed mismatching operator delete.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/kyra_v3.cpp

Modified: scummvm/trunk/engines/kyra/kyra_v3.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra_v3.cpp	2008-04-18 21:41:55 UTC (rev 31564)
+++ scummvm/trunk/engines/kyra/kyra_v3.cpp	2008-04-18 21:44:55 UTC (rev 31565)
@@ -127,7 +127,7 @@
 	delete [] _sceneList;
 
 	for (ShapeMap::iterator i = _gameShapes.begin(); i != _gameShapes.end(); ++i) {
-		delete i->_value;
+		delete [] i->_value;
 		i->_value = 0;
 	}
 	_gameShapes.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