[Scummvm-git-logs] scummvm master -> 36ce79edb44cdc2eed121f795bd612b262fe1846

dreammaster dreammaster at scummvm.org
Sun Sep 24 16:55:58 CEST 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
36ce79edb4 TITANIC: Fix access after free in shutdown


Commit: 36ce79edb44cdc2eed121f795bd612b262fe1846
    https://github.com/scummvm/scummvm/commit/36ce79edb44cdc2eed121f795bd612b262fe1846
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-09-24T10:55:50-04:00

Commit Message:
TITANIC: Fix access after free in shutdown

Changed paths:
    engines/titanic/main_game_window.cpp


diff --git a/engines/titanic/main_game_window.cpp b/engines/titanic/main_game_window.cpp
index f404487..2b026f9 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() {





More information about the Scummvm-git-logs mailing list