From 43438fbe1365115f1a4df1a452d14677fca3c86b Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 13 Nov 2016 16:36:18 +0100 Subject: CHEWY: Plug memory leaks --- engines/chewy/graphics.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/chewy/graphics.cpp') 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 -- cgit v1.2.3