[Scummvm-cvs-logs] scummvm master -> 43aad22eb2a99717b115fe2d00aaa384779eaa67
dreammaster
dreammaster at scummvm.org
Mon Mar 9 04:54:33 CET 2015
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:
43aad22eb2 MADS: Fix SceneInfo instance leak when showing dialogs
Commit: 43aad22eb2a99717b115fe2d00aaa384779eaa67
https://github.com/scummvm/scummvm/commit/43aad22eb2a99717b115fe2d00aaa384779eaa67
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-03-08T23:53:10-04:00
Commit Message:
MADS: Fix SceneInfo instance leak when showing dialogs
Changed paths:
engines/mads/dialogs.cpp
diff --git a/engines/mads/dialogs.cpp b/engines/mads/dialogs.cpp
index c02f027..158d969 100644
--- a/engines/mads/dialogs.cpp
+++ b/engines/mads/dialogs.cpp
@@ -430,6 +430,7 @@ void FullScreenDialog::display() {
if (_screenId > 0) {
SceneInfo *sceneInfo = SceneInfo::init(_vm);
sceneInfo->load(_screenId, 0, "", 0, scene._depthSurface, scene._backgroundSurface);
+ delete sceneInfo;
}
scene._priorSceneId = priorSceneId;
More information about the Scummvm-git-logs
mailing list