diff options
author | Torbjörn Andersson | 2010-06-17 15:46:01 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2010-06-17 15:46:01 +0000 |
commit | 1bbb9d7bd29020566c36d7812c6de236a25c025e (patch) | |
tree | 091e8b38929ac76fab3a632a0041fa23a422c923 /engines/sci/engine/kgraphics.cpp | |
parent | f403d0f806d56dbe2017374792e0697e6d46bc1f (diff) | |
download | scummvm-rg350-1bbb9d7bd29020566c36d7812c6de236a25c025e.tar.gz scummvm-rg350-1bbb9d7bd29020566c36d7812c6de236a25c025e.tar.bz2 scummvm-rg350-1bbb9d7bd29020566c36d7812c6de236a25c025e.zip |
Fixed cppcheck warning.
svn-id: r49935
Diffstat (limited to 'engines/sci/engine/kgraphics.cpp')
-rw-r--r-- | engines/sci/engine/kgraphics.cpp | 2 |
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()); |