From f8593e8ecb9b0fbe01893eb8bf086805edfd65a0 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 27 Apr 2013 08:49:07 +0300 Subject: [PATCH] GROOVOE: Plug memory leak. CID 1003912 --- engines/groovie/cursor.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/engines/groovie/cursor.cpp b/engines/groovie/cursor.cpp index 6422570220d..cac78a95a32 100644 --- a/engines/groovie/cursor.cpp +++ b/engines/groovie/cursor.cpp @@ -378,8 +378,7 @@ void Cursor_v2::decodeFrame(byte *pal, byte *data, byte *dest) { } } - - + delete[] tmp; } void Cursor_v2::enable() {