aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2013-04-27 08:49:07 +0300
committerEugene Sandulenko2013-04-27 08:49:07 +0300
commitf8593e8ecb9b0fbe01893eb8bf086805edfd65a0 (patch)
treeecb154a7c4684c071f25ad06ce62c0226dbc33ec
parent9d087cb314490246a21a4e0ef57b1b126e3e3ad4 (diff)
downloadscummvm-rg350-f8593e8ecb9b0fbe01893eb8bf086805edfd65a0.tar.gz
scummvm-rg350-f8593e8ecb9b0fbe01893eb8bf086805edfd65a0.tar.bz2
scummvm-rg350-f8593e8ecb9b0fbe01893eb8bf086805edfd65a0.zip
GROOVOE: Plug memory leak. CID 1003912
-rw-r--r--engines/groovie/cursor.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/groovie/cursor.cpp b/engines/groovie/cursor.cpp
index 6422570220..cac78a95a3 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() {