diff options
author | D G Turner | 2018-09-26 04:44:04 +0100 |
---|---|---|
committer | D G Turner | 2018-09-26 04:44:04 +0100 |
commit | 0ac78878563a418483ec65a65c45a421bbf0392d (patch) | |
tree | 635111b1631c3e2f7240713fc954281f7db8454b | |
parent | 807b0f84c26604dd1f6ce4bda2736e2a780fa8ab (diff) | |
download | scummvm-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)").
-rw-r--r-- | engines/fullpipe/fullpipe.cpp | 1 |
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(); |