From 36ce79edb44cdc2eed121f795bd612b262fe1846 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 24 Sep 2017 10:55:50 -0400 Subject: TITANIC: Fix access after free in shutdown --- engines/titanic/main_game_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- cgit v1.2.3