From 3333432b4dc35b65d27423ab7860fae068b13d5e Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 24 Sep 2017 12:15:58 -0400 Subject: TITANIC: Fix leak of movie event structures --- engines/titanic/game_manager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/engines/titanic/game_manager.cpp b/engines/titanic/game_manager.cpp index e5f46bc7b7..e3365be108 100644 --- a/engines/titanic/game_manager.cpp +++ b/engines/titanic/game_manager.cpp @@ -256,6 +256,7 @@ void CGameManager::updateMovies() { } eventsList.remove(movieEvent); + delete movieEvent; } repeatFlag = true; -- cgit v1.2.3