FULLPIPE: Fix For Memory Leak When Exiting Through Game Menu.

This fixes bug #10398 ("FULLPIPE: memory leak when exiting via in-game
menu (not gmm)").
This commit is contained in:
D G Turner 2018-09-26 04:44:04 +01:00
parent 807b0f84c2
commit 0ac7887856

View File

@ -324,6 +324,7 @@ Common::Error FullpipeEngine::run() {
_system->updateScreen();
}
delete _modalObject;
freeGameLoader();
cleanup();