aboutsummaryrefslogtreecommitdiff
path: root/engines/chewy/graphics.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2016-11-13 16:36:18 +0100
committerEugene Sandulenko2016-11-13 16:36:43 +0100
commit43438fbe1365115f1a4df1a452d14677fca3c86b (patch)
tree586473b75e63f5c50f34b07c8957a60795d351ba /engines/chewy/graphics.cpp
parenta22e3bceac828177e720abc72773424e8a29bc72 (diff)
downloadscummvm-rg350-43438fbe1365115f1a4df1a452d14677fca3c86b.tar.gz
scummvm-rg350-43438fbe1365115f1a4df1a452d14677fca3c86b.tar.bz2
scummvm-rg350-43438fbe1365115f1a4df1a452d14677fca3c86b.zip
CHEWY: Plug memory leaks
Diffstat (limited to 'engines/chewy/graphics.cpp')
-rw-r--r--engines/chewy/graphics.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/chewy/graphics.cpp b/engines/chewy/graphics.cpp
index 07a3abe435..54a731fd3a 100644
--- a/engines/chewy/graphics.cpp
+++ b/engines/chewy/graphics.cpp
@@ -140,6 +140,9 @@ void Graphics::playVideo(uint num) {
g_system->getPaletteManager()->setPalette(curPalette, 0, 256);
_vm->_cursor->showCursor();
+
+ delete videoResource;
+ delete cfoDecoder;
}
} // End of namespace Chewy