Fixed cppcheck warning.

svn-id: r49935
This commit is contained in:
Torbjörn Andersson 2010-06-17 15:46:01 +00:00
parent f403d0f806
commit 1bbb9d7bd2

View File

@ -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());