diff options
author | Einar Johan Trøan Sømåen | 2012-06-27 23:32:57 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-27 23:32:57 +0200 |
commit | e49b43f7a9bbbe7bda7c4107b0279bf2add1aaaa (patch) | |
tree | 9aa69692a5b4886840df7b9f12a85dfb7b169669 /engines/wintermute/video/decoders | |
parent | ae714dc076def8efb6448c1d39058fbabb0e096f (diff) | |
download | scummvm-rg350-e49b43f7a9bbbe7bda7c4107b0279bf2add1aaaa.tar.gz scummvm-rg350-e49b43f7a9bbbe7bda7c4107b0279bf2add1aaaa.tar.bz2 scummvm-rg350-e49b43f7a9bbbe7bda7c4107b0279bf2add1aaaa.zip |
WINTERMUTE: Fix almost all of the memory leaks that were left.
Diffstat (limited to 'engines/wintermute/video/decoders')
-rw-r--r-- | engines/wintermute/video/decoders/theora_decoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/video/decoders/theora_decoder.cpp b/engines/wintermute/video/decoders/theora_decoder.cpp index 647d9aff08..a8e403c97c 100644 --- a/engines/wintermute/video/decoders/theora_decoder.cpp +++ b/engines/wintermute/video/decoders/theora_decoder.cpp @@ -456,7 +456,7 @@ bool TheoraDecoder::queueAudio() { #ifdef SCUMM_LITTLE_ENDIAN flags |= Audio::FLAG_LITTLE_ENDIAN; #endif - _audStream->queueBuffer((byte *)_audiobuf, AUDIOFD_FRAGSIZE, DisposeAfterUse::NO, flags); + _audStream->queueBuffer((byte *)_audiobuf, AUDIOFD_FRAGSIZE, DisposeAfterUse::YES, flags); // The audio mixer is now responsible for the old audio buffer. // We need to create a new one. |