aboutsummaryrefslogtreecommitdiff
path: root/sound/decoders/wave.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sound/decoders/wave.cpp')
-rw-r--r--sound/decoders/wave.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/decoders/wave.cpp b/sound/decoders/wave.cpp
index c0865ad30f..018bd97bce 100644
--- a/sound/decoders/wave.cpp
+++ b/sound/decoders/wave.cpp
@@ -188,7 +188,6 @@ RewindableAudioStream *makeWAVStream(Common::SeekableReadStream *stream, Dispose
if (disposeAfterUse == DisposeAfterUse::YES)
delete stream;
- // Since we allocated our own buffer for the data, we must specify DisposeAfterUse::YES.
return makeRawMemoryStream(data, size, rate, flags);
}