aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe
diff options
context:
space:
mode:
authorD G Turner2018-09-26 04:44:04 +0100
committerD G Turner2018-09-26 04:44:04 +0100
commit0ac78878563a418483ec65a65c45a421bbf0392d (patch)
tree635111b1631c3e2f7240713fc954281f7db8454b /engines/fullpipe
parent807b0f84c26604dd1f6ce4bda2736e2a780fa8ab (diff)
downloadscummvm-rg350-0ac78878563a418483ec65a65c45a421bbf0392d.tar.gz
scummvm-rg350-0ac78878563a418483ec65a65c45a421bbf0392d.tar.bz2
scummvm-rg350-0ac78878563a418483ec65a65c45a421bbf0392d.zip
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)").
Diffstat (limited to 'engines/fullpipe')
-rw-r--r--engines/fullpipe/fullpipe.cpp1
1 files changed, 1 insertions, 0 deletions
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();