[Scummvm-cvs-logs] SF.net SVN: scummvm:[49935] scummvm/trunk/engines/sci/engine/kgraphics.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Thu Jun 17 17:46:01 CEST 2010
Revision: 49935
http://scummvm.svn.sourceforge.net/scummvm/?rev=49935&view=rev
Author: eriktorbjorn
Date: 2010-06-17 15:46:01 +0000 (Thu, 17 Jun 2010)
Log Message:
-----------
Fixed cppcheck warning.
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/kgraphics.cpp
Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp 2010-06-17 15:32:20 UTC (rev 49934)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp 2010-06-17 15:46:01 UTC (rev 49935)
@@ -1297,7 +1297,7 @@
// Copy video contents to screen buffer
g_sci->_gfxScreen->kernelSyncWithFramebuffer();
- delete frameBuf;
+ delete[] frameBuf;
delete videoDecoder;
} else
warning("Could not play video %s\n", fileName.c_str());
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