[Scummvm-git-logs] scummvm master -> 3333432b4dc35b65d27423ab7860fae068b13d5e

dreammaster dreammaster at scummvm.org
Sun Sep 24 18:16:06 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:
3333432b4d TITANIC: Fix leak of movie event structures


Commit: 3333432b4dc35b65d27423ab7860fae068b13d5e
    https://github.com/scummvm/scummvm/commit/3333432b4dc35b65d27423ab7860fae068b13d5e
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-09-24T12:15:58-04:00

Commit Message:
TITANIC: Fix leak of movie event structures

Changed paths:
    engines/titanic/game_manager.cpp


diff --git a/engines/titanic/game_manager.cpp b/engines/titanic/game_manager.cpp
index e5f46bc..e3365be 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;





More information about the Scummvm-git-logs mailing list