diff options
Diffstat (limited to 'sound/iff_sound.cpp')
-rw-r--r-- | sound/iff_sound.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/iff_sound.cpp b/sound/iff_sound.cpp index a78fe97288..c476ff9676 100644 --- a/sound/iff_sound.cpp +++ b/sound/iff_sound.cpp @@ -99,9 +99,7 @@ AudioStream *make8SVXStream(Common::ReadStream &input, bool loop) { flags |= Audio::Mixer::FLAG_LOOP; } - flags |= Audio::Mixer::FLAG_AUTOFREE; - - return Audio::makeRawMemoryStream((byte *)loader._data, loader._dataSize, loader._header.samplesPerSec, flags, loopStart, loopEnd); + return Audio::makeRawMemoryStream((byte *)loader._data, loader._dataSize, DisposeAfterUse::YES, loader._header.samplesPerSec, flags, loopStart, loopEnd); } } |