From 2b3553306df59b6a7998aac5bd1b2e6ba07b4583 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 5 Jul 2015 01:32:53 +0200 Subject: MADE: Delete AdLib instrument stream after driver initialization --- engines/made/music.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/made') diff --git a/engines/made/music.cpp b/engines/made/music.cpp index be66c08aaf..aab22fd7ca 100644 --- a/engines/made/music.cpp +++ b/engines/made/music.cpp @@ -52,6 +52,7 @@ MusicPlayer::MusicPlayer(bool milesAudio) : _isGM(false),_milesAudioMode(false) adLibInstrumentStream = RedReader::loadFromRed("rtzcd.red", "SAMPLE.AD"); } _driver = Audio::MidiDriver_Miles_AdLib_create("SAMPLE.AD", "SAMPLE.OPL", adLibInstrumentStream); + delete adLibInstrumentStream; break; case MT_MT32: _milesAudioMode = true; -- cgit v1.2.3