[Scummvm-cvs-logs] scummvm master -> 647d69c1f13bac9f356a3bdb08db5ff3f4cbd328
dreammaster
dreammaster at scummvm.org
Fri Jun 12 01:29:26 CEST 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:
647d69c1f1 SHERLOCK: RT: Fix stream leak loading map data
Commit: 647d69c1f13bac9f356a3bdb08db5ff3f4cbd328
https://github.com/scummvm/scummvm/commit/647d69c1f13bac9f356a3bdb08db5ff3f4cbd328
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-06-11T19:28:21-04:00
Commit Message:
SHERLOCK: RT: Fix stream leak loading map data
Changed paths:
engines/sherlock/tattoo/tattoo_map.cpp
diff --git a/engines/sherlock/tattoo/tattoo_map.cpp b/engines/sherlock/tattoo/tattoo_map.cpp
index 9883986..bce07e3 100644
--- a/engines/sherlock/tattoo/tattoo_map.cpp
+++ b/engines/sherlock/tattoo/tattoo_map.cpp
@@ -296,6 +296,8 @@ void TattooMap::loadData() {
mapEntry._iconNum = atoi(iconStr.c_str()) - 1;
} while (stream->pos() < stream->size());
+
+ delete stream;
}
void TattooMap::drawMapIcons() {
More information about the Scummvm-git-logs
mailing list