From 8308341a98991ff0809ee9b38121e3d4a73a39f3 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 18 Aug 2017 22:30:38 -0400 Subject: TITANIC: Fix use-after-free in TTtalker when loading savegames --- engines/titanic/game_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/titanic/game_manager.cpp b/engines/titanic/game_manager.cpp index 13fe1d2872..65a2a278c8 100644 --- a/engines/titanic/game_manager.cpp +++ b/engines/titanic/game_manager.cpp @@ -81,8 +81,8 @@ void CGameManager::preLoad() { _timers.destroyContents(); _soundMaker = nullptr; - _trueTalkManager.preLoad(); _sound.preLoad(); + _trueTalkManager.preLoad(); } void CGameManager::postLoad(CProjectItem *project) { -- cgit v1.2.3