[Scummvm-cvs-logs] SF.net SVN: scummvm: [31128] scummvm/trunk/engines/kyra/kyra_v2.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Sat Mar 15 12:44:36 CET 2008
Revision: 31128
http://scummvm.svn.sourceforge.net/scummvm/?rev=31128&view=rev
Author: lordhoto
Date: 2008-03-15 04:44:36 -0700 (Sat, 15 Mar 2008)
Log Message:
-----------
Fixed another valgrind warning.
Modified Paths:
--------------
scummvm/trunk/engines/kyra/kyra_v2.cpp
Modified: scummvm/trunk/engines/kyra/kyra_v2.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra_v2.cpp 2008-03-15 11:39:19 UTC (rev 31127)
+++ scummvm/trunk/engines/kyra/kyra_v2.cpp 2008-03-15 11:44:36 UTC (rev 31128)
@@ -157,7 +157,7 @@
if (_sequenceSoundList) {
for (int i = 0; i < _sequenceSoundListSize; i++) {
if (_sequenceSoundList[i])
- delete _sequenceSoundList[i];
+ delete [] _sequenceSoundList[i];
}
delete [] _sequenceSoundList;
_sequenceSoundList = NULL;
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