aboutsummaryrefslogtreecommitdiff
path: root/engines/lilliput
diff options
context:
space:
mode:
authorStrangerke2018-04-20 07:10:38 +0200
committerStrangerke2018-04-20 07:10:38 +0200
commit2f00d52a2344552242afb69d27ff4a459559a0fc (patch)
tree67c55ccac41d067591f9ceff26880937a2742f3e /engines/lilliput
parentc0de8dd04d2704eefb4b5d11838c810f31d21bfe (diff)
downloadscummvm-rg350-2f00d52a2344552242afb69d27ff4a459559a0fc.tar.gz
scummvm-rg350-2f00d52a2344552242afb69d27ff4a459559a0fc.tar.bz2
scummvm-rg350-2f00d52a2344552242afb69d27ff4a459559a0fc.zip
LILLIPUT: Fix memory leak
Diffstat (limited to 'engines/lilliput')
-rw-r--r--engines/lilliput/lilliput.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/lilliput/lilliput.cpp b/engines/lilliput/lilliput.cpp
index 4624209874..800d5b322d 100644
--- a/engines/lilliput/lilliput.cpp
+++ b/engines/lilliput/lilliput.cpp
@@ -256,6 +256,8 @@ LilliputEngine::LilliputEngine(OSystem *syst, const LilliputGameDescription *gd)
LilliputEngine::~LilliputEngine() {
DebugMan.clearAllDebugChannels();
delete _console;
+ delete _soundHandler;
+ delete _scriptHandler;
delete _rnd;
}