From 0ac78878563a418483ec65a65c45a421bbf0392d Mon Sep 17 00:00:00 2001 From: D G Turner Date: Wed, 26 Sep 2018 04:44:04 +0100 Subject: 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)"). --- engines/fullpipe/fullpipe.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/fullpipe') diff --git a/engines/fullpipe/fullpipe.cpp b/engines/fullpipe/fullpipe.cpp index 48dff107c8..b6bcbfce6a 100644 --- a/engines/fullpipe/fullpipe.cpp +++ b/engines/fullpipe/fullpipe.cpp @@ -324,6 +324,7 @@ Common::Error FullpipeEngine::run() { _system->updateScreen(); } + delete _modalObject; freeGameLoader(); cleanup(); -- cgit v1.2.3