diff options
author | Paul Gilbert | 2017-09-24 10:55:50 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-09-24 10:55:50 -0400 |
commit | 36ce79edb44cdc2eed121f795bd612b262fe1846 (patch) | |
tree | fd5d212045397c8f37fa23d128bd57cd55b67fa5 | |
parent | 947894ce1f71c12cc904b1c2fd82aa827df8574f (diff) | |
download | scummvm-rg350-36ce79edb44cdc2eed121f795bd612b262fe1846.tar.gz scummvm-rg350-36ce79edb44cdc2eed121f795bd612b262fe1846.tar.bz2 scummvm-rg350-36ce79edb44cdc2eed121f795bd612b262fe1846.zip |
TITANIC: Fix access after free in shutdown
-rw-r--r-- | engines/titanic/main_game_window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/main_game_window.cpp b/engines/titanic/main_game_window.cpp index f404487542..2b026f9fae 100644 --- a/engines/titanic/main_game_window.cpp +++ b/engines/titanic/main_game_window.cpp @@ -49,9 +49,9 @@ CMainGameWindow::CMainGameWindow(TitanicEngine *vm): _vm(vm), } CMainGameWindow::~CMainGameWindow() { - delete _project; delete _gameView; delete _gameManager; + delete _project; } void CMainGameWindow::applicationStarting() { |