[Scummvm-cvs-logs] scummvm master -> 4f330db26afadb8ec71908631d8b6fb79fcdca13
Strangerke
Strangerke at scummvm.org
Tue Nov 24 19:16:06 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:
4f330db26a MADS: Fix memory leak in loadMadsV2Background
Commit: 4f330db26afadb8ec71908631d8b6fb79fcdca13
https://github.com/scummvm/scummvm/commit/4f330db26afadb8ec71908631d8b6fb79fcdca13
Author: Strangerke (strangerke at scummvm.org)
Date: 2015-11-24T19:10:11+01:00
Commit Message:
MADS: Fix memory leak in loadMadsV2Background
Changed paths:
engines/mads/scene_data.cpp
diff --git a/engines/mads/scene_data.cpp b/engines/mads/scene_data.cpp
index 2211430..7b0e64c 100644
--- a/engines/mads/scene_data.cpp
+++ b/engines/mads/scene_data.cpp
@@ -509,6 +509,8 @@ void SceneInfo::loadMadsV2Background(int sceneId, const Common::String &resName,
}
tileSet.clear();
tileDataFile.close();
+
+ delete[] tileMap;
}
/*------------------------------------------------------------------------*/
More information about the Scummvm-git-logs
mailing list