aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2010-06-15 10:21:59 +0000
committerEugene Sandulenko2010-06-15 10:21:59 +0000
commit1850d53793388f81b3c058ba02c314994a6e6ec9 (patch)
tree9bf79b604b94cf8d0ac7c3876225aa41994a0f77
parent671ed4873f163bc64f59af6317791db4bbaa2824 (diff)
downloadscummvm-rg350-1850d53793388f81b3c058ba02c314994a6e6ec9.tar.gz
scummvm-rg350-1850d53793388f81b3c058ba02c314994a6e6ec9.tar.bz2
scummvm-rg350-1850d53793388f81b3c058ba02c314994a6e6ec9.zip
Drascula: Plug memory leak
svn-id: r49714
-rw-r--r--engines/drascula/drascula.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index 4c38a87291..bc6f57ea12 100644
--- a/engines/drascula/drascula.cpp
+++ b/engines/drascula/drascula.cpp
@@ -116,6 +116,8 @@ DrasculaEngine::~DrasculaEngine() {
freeRoomsTable();
+ delete _console;
+
free(_charMap);
free(_itemLocations);
free(_polX);