diff options
Diffstat (limited to 'sound/wave.cpp')
-rw-r--r-- | sound/wave.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/wave.cpp b/sound/wave.cpp index 80bf6d42d4..c829c41e0f 100644 --- a/sound/wave.cpp +++ b/sound/wave.cpp @@ -185,7 +185,6 @@ AudioStream *makeWAVStream(Common::SeekableReadStream *stream, bool disposeAfter data = (byte *)malloc(size); assert(data); stream->read(data, size); - delete stream; // Since we allocated our own buffer for the data, we must set the autofree flag. flags |= Audio::Mixer::FLAG_AUTOFREE; |