aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2010-06-17 15:46:01 +0000
committerTorbjörn Andersson2010-06-17 15:46:01 +0000
commit1bbb9d7bd29020566c36d7812c6de236a25c025e (patch)
tree091e8b38929ac76fab3a632a0041fa23a422c923
parentf403d0f806d56dbe2017374792e0697e6d46bc1f (diff)
downloadscummvm-rg350-1bbb9d7bd29020566c36d7812c6de236a25c025e.tar.gz
scummvm-rg350-1bbb9d7bd29020566c36d7812c6de236a25c025e.tar.bz2
scummvm-rg350-1bbb9d7bd29020566c36d7812c6de236a25c025e.zip
Fixed cppcheck warning.
svn-id: r49935
-rw-r--r--engines/sci/engine/kgraphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 03989be374..8b2501ff62 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -1297,7 +1297,7 @@ reg_t kPlayVMD(EngineState *s, int argc, reg_t *argv) {
// 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());