diff options
Diffstat (limited to 'engines/prince/sound.cpp')
-rw-r--r-- | engines/prince/sound.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/prince/sound.cpp b/engines/prince/sound.cpp index 40f182e630..fcdca8a0d1 100644 --- a/engines/prince/sound.cpp +++ b/engines/prince/sound.cpp @@ -168,6 +168,8 @@ void MusicPlayer::loadMidi(const char * name) { _data = (byte *)malloc(_dataSize); stream->read(_data, _dataSize); + delete stream; + // Start playing the music sndMidiStart(); } |