From 2f00d52a2344552242afb69d27ff4a459559a0fc Mon Sep 17 00:00:00 2001 From: Strangerke Date: Fri, 20 Apr 2018 07:10:38 +0200 Subject: LILLIPUT: Fix memory leak --- engines/lilliput/lilliput.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/lilliput') 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; } -- cgit v1.2.3