aboutsummaryrefslogtreecommitdiff
path: root/engines/made/music.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2015-07-05 01:32:53 +0200
committerTorbjörn Andersson2015-07-05 01:32:53 +0200
commit2b3553306df59b6a7998aac5bd1b2e6ba07b4583 (patch)
treec370ec040623a5c2026f1596ef34293248b94f79 /engines/made/music.cpp
parentcc471ecd078c4a7f19c2794ac8a8479c1ad4d26b (diff)
downloadscummvm-rg350-2b3553306df59b6a7998aac5bd1b2e6ba07b4583.tar.gz
scummvm-rg350-2b3553306df59b6a7998aac5bd1b2e6ba07b4583.tar.bz2
scummvm-rg350-2b3553306df59b6a7998aac5bd1b2e6ba07b4583.zip
MADE: Delete AdLib instrument stream after driver initialization
Diffstat (limited to 'engines/made/music.cpp')
-rw-r--r--engines/made/music.cpp1
1 files changed, 1 insertions, 0 deletions
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;