[Scummvm-cvs-logs] scummvm master -> 34f300b3d5a3527c5d155a215a462560901d46cc
wjp
wjp at usecode.org
Mon Jan 6 21:39:37 CET 2014
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:
34f300b3d5 SCI: Fix memory leak
Commit: 34f300b3d5a3527c5d155a215a462560901d46cc
https://github.com/scummvm/scummvm/commit/34f300b3d5a3527c5d155a215a462560901d46cc
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2014-01-06T12:37:31-08:00
Commit Message:
SCI: Fix memory leak
Thanks to digitall for testing.
Changed paths:
engines/sci/sound/music.cpp
diff --git a/engines/sci/sound/music.cpp b/engines/sci/sound/music.cpp
index 1b8aa55..f46c1df 100644
--- a/engines/sci/sound/music.cpp
+++ b/engines/sci/sound/music.cpp
@@ -1044,6 +1044,8 @@ void SciMusic::remapChannels() {
if (!_channelMap[i]._song)
resetDeviceChannel(i);
}
+
+ delete map;
}
More information about the Scummvm-git-logs
mailing list