aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2008-12-26 11:05:47 +0000
committerJohannes Schickel2008-12-26 11:05:47 +0000
commit5555ba9aaf8d52e2b4bcfe968d952808522d1c37 (patch)
tree102595fdc4942b90952b8d7adf203b78ca762f7c /engines/kyra
parent91de740d44710835f9b48f9f7ce787aeea6094df (diff)
downloadscummvm-rg350-5555ba9aaf8d52e2b4bcfe968d952808522d1c37.tar.gz
scummvm-rg350-5555ba9aaf8d52e2b4bcfe968d952808522d1c37.tar.bz2
scummvm-rg350-5555ba9aaf8d52e2b4bcfe968d952808522d1c37.zip
Fixed memory leak.
svn-id: r35554
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/lol.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp
index 1c70fe96d3..050537617e 100644
--- a/engines/kyra/lol.cpp
+++ b/engines/kyra/lol.cpp
@@ -61,6 +61,7 @@ LoLEngine::LoLEngine(OSystem *system, const GameFlags &flags) : KyraEngine_v1(sy
_chargenWSA = 0;
_lastUsedStringBuffer = 0;
+ _landsFile = 0;
}
LoLEngine::~LoLEngine() {
@@ -68,6 +69,7 @@ LoLEngine::~LoLEngine() {
for (uint i = 0; i < ARRAYSIZE(_shapes); ++i)
delete[] _shapes[i];
+ delete[] _landsFile;
delete _screen;
delete _tim;