LILLIPUT: Fix memory leak

This commit is contained in:
Strangerke 2018-04-20 07:10:38 +02:00
parent c0de8dd04d
commit 2f00d52a23

View File

@ -256,6 +256,8 @@ LilliputEngine::LilliputEngine(OSystem *syst, const LilliputGameDescription *gd)
LilliputEngine::~LilliputEngine() {
DebugMan.clearAllDebugChannels();
delete _console;
delete _soundHandler;
delete _scriptHandler;
delete _rnd;
}