[Scummvm-git-logs] scummvm master -> 4a0a3c121f83980912c43223c9914c089bad2eef
dreammaster
dreammaster at scummvm.org
Thu Sep 28 03:11:38 CEST 2017
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:
4a0a3c121f TITANIC: Fix leak of wave file audio streams
Commit: 4a0a3c121f83980912c43223c9914c089bad2eef
https://github.com/scummvm/scummvm/commit/4a0a3c121f83980912c43223c9914c089bad2eef
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-09-27T21:11:32-04:00
Commit Message:
TITANIC: Fix leak of wave file audio streams
Changed paths:
engines/titanic/sound/wave_file.cpp
diff --git a/engines/titanic/sound/wave_file.cpp b/engines/titanic/sound/wave_file.cpp
index ba89508..ae633a2 100644
--- a/engines/titanic/sound/wave_file.cpp
+++ b/engines/titanic/sound/wave_file.cpp
@@ -207,7 +207,7 @@ Audio::SoundHandle CWaveFile::play(int numLoops, byte volume) {
(numLoops == -1) ? 0 : numLoops);
_mixer->playStream(_soundType, &handle, stream, -1,
- volume, 0, DisposeAfterUse::NO);
+ volume, 0, DisposeAfterUse::YES);
return handle;
}
More information about the Scummvm-git-logs
mailing list