[Scummvm-git-logs] scummvm master -> bffc1f87f97ddceb779c4a55ddb57ae42a99e1e1
eriktorbjorn
eriktorbjorn at telia.com
Thu Sep 8 17:45:37 CEST 2016
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:
bffc1f87f9 FULLPIPE: Also free the contents of _soundList, along with it
Commit: bffc1f87f97ddceb779c4a55ddb57ae42a99e1e1
https://github.com/scummvm/scummvm/commit/bffc1f87f97ddceb779c4a55ddb57ae42a99e1e1
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2016-09-08T17:45:17+02:00
Commit Message:
FULLPIPE: Also free the contents of _soundList, along with it
Changed paths:
engines/fullpipe/sound.cpp
diff --git a/engines/fullpipe/sound.cpp b/engines/fullpipe/sound.cpp
index c457d24..57d0ac5 100644
--- a/engines/fullpipe/sound.cpp
+++ b/engines/fullpipe/sound.cpp
@@ -44,6 +44,8 @@ SoundList::SoundList() {
}
SoundList::~SoundList() {
+ for (int i = 0; i < _soundItemsCount; i++)
+ delete _soundItems[i];
free(_soundItems);
}
More information about the Scummvm-git-logs
mailing list