diff options
author | Bastien Bouclet | 2017-09-09 18:49:07 +0200 |
---|---|---|
committer | Bastien Bouclet | 2017-09-12 20:25:24 +0200 |
commit | 1519b2befcb71ff52f92144406d67ce8a7b76b35 (patch) | |
tree | 5cd2eda9236387a8627f8b9626cf981aea4a3e00 /engines/pegasus | |
parent | 8e235f07a762ea281d0ce366242522b84c518e3b (diff) | |
download | scummvm-rg350-1519b2befcb71ff52f92144406d67ce8a7b76b35.tar.gz scummvm-rg350-1519b2befcb71ff52f92144406d67ce8a7b76b35.tar.bz2 scummvm-rg350-1519b2befcb71ff52f92144406d67ce8a7b76b35.zip |
PEGASUS: Free the interface data when destroying the engine
Fixes loading a game from the launcher after returning to the launcher.
Diffstat (limited to 'engines/pegasus')
-rw-r--r-- | engines/pegasus/pegasus.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/pegasus/pegasus.cpp b/engines/pegasus/pegasus.cpp index 7898d0b12a..5f756449dd 100644 --- a/engines/pegasus/pegasus.cpp +++ b/engines/pegasus/pegasus.cpp @@ -98,6 +98,8 @@ PegasusEngine::PegasusEngine(OSystem *syst, const PegasusGameDescription *gamede } PegasusEngine::~PegasusEngine() { + throwAwayEverything(); + delete _resFork; delete _console; delete _cursor; |