diff options
author | Paul Gilbert | 2017-09-24 12:15:58 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-09-24 12:15:58 -0400 |
commit | 3333432b4dc35b65d27423ab7860fae068b13d5e (patch) | |
tree | 2cb63d73b33b0f0550a4b551765bc5a8b28b462d /engines/titanic | |
parent | d73ada9088b53451eaa0b7e57064b6e6769f63fc (diff) | |
download | scummvm-rg350-3333432b4dc35b65d27423ab7860fae068b13d5e.tar.gz scummvm-rg350-3333432b4dc35b65d27423ab7860fae068b13d5e.tar.bz2 scummvm-rg350-3333432b4dc35b65d27423ab7860fae068b13d5e.zip |
TITANIC: Fix leak of movie event structures
Diffstat (limited to 'engines/titanic')
-rw-r--r-- | engines/titanic/game_manager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |