diff options
author | D G Turner | 2019-09-13 21:18:25 +0100 |
---|---|---|
committer | D G Turner | 2019-09-13 21:20:19 +0100 |
commit | df940b17af4b8aa9216f903fa9acdf46048bd894 (patch) | |
tree | d64d58c0df2c974ab6167e830060b4a742984cb3 /engines | |
parent | ced80c6da48fcb9922f190dc001c008426413e56 (diff) | |
download | scummvm-rg350-df940b17af4b8aa9216f903fa9acdf46048bd894.tar.gz scummvm-rg350-df940b17af4b8aa9216f903fa9acdf46048bd894.tar.bz2 scummvm-rg350-df940b17af4b8aa9216f903fa9acdf46048bd894.zip |
HDB: Close Memory Leaks in Sound Class
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/sound.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/hdb/sound.cpp b/engines/hdb/sound.cpp index d2c27961a9..842b145894 100644 --- a/engines/hdb/sound.cpp +++ b/engines/hdb/sound.cpp @@ -1545,7 +1545,7 @@ void Sound::playSound(int index) { -1, Audio::Mixer::kMaxChannelVolume, 0, - DisposeAfterUse::NO, + DisposeAfterUse::YES, false, false ); @@ -1606,7 +1606,7 @@ void Sound::playSoundEx(int index, int channel, bool loop) { -1, Audio::Mixer::kMaxChannelVolume, 0, - DisposeAfterUse::NO, + DisposeAfterUse::YES, false, false ); @@ -1618,7 +1618,7 @@ void Sound::playSoundEx(int index, int channel, bool loop) { -1, Audio::Mixer::kMaxChannelVolume, 0, - DisposeAfterUse::NO, + DisposeAfterUse::YES, false, false ); |