[Scummvm-cvs-logs] scummvm master -> f2c163a5690d20e41ff39245242e7cc0b9eed8eb
bluegr
md5 at scummvm.org
Sun Jan 15 18:03:00 CET 2012
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:
f2c163a569 SCI: Plug a leak in ResourceManager::processWavePatch()
Commit: f2c163a5690d20e41ff39245242e7cc0b9eed8eb
https://github.com/scummvm/scummvm/commit/f2c163a5690d20e41ff39245242e7cc0b9eed8eb
Author: Filippos Karapetis (md5 at scummvm.org)
Date: 2012-01-15T09:02:19-08:00
Commit Message:
SCI: Plug a leak in ResourceManager::processWavePatch()
Many thanks to digitall for finding this one
Changed paths:
engines/sci/resource_audio.cpp
diff --git a/engines/sci/resource_audio.cpp b/engines/sci/resource_audio.cpp
index a3cf1b0..8730580 100644
--- a/engines/sci/resource_audio.cpp
+++ b/engines/sci/resource_audio.cpp
@@ -185,6 +185,7 @@ void ResourceManager::processWavePatch(ResourceId resourceId, Common::String nam
file.open(name);
updateResource(resourceId, resSrc, file.size());
+ _sources.push_back(resSrc);
debugC(1, kDebugLevelResMan, "Patching %s - OK", name.c_str());
}
More information about the Scummvm-git-logs
mailing list