diff options
Diffstat (limited to 'engines/parallaction/sound.cpp')
-rw-r--r-- | engines/parallaction/sound.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/parallaction/sound.cpp b/engines/parallaction/sound.cpp index 698373d541..8c6174a0db 100644 --- a/engines/parallaction/sound.cpp +++ b/engines/parallaction/sound.cpp @@ -104,6 +104,7 @@ void MidiPlayer::play(Common::SeekableReadStream *stream) { _midiData = (uint8 *)malloc(size); if (_midiData) { stream->read(_midiData, size); + delete stream; _mutex.lock(); _parser->loadMusic(_midiData, size); _parser->setTrack(0); |