diff options
author | Torbjörn Andersson | 2015-07-05 01:32:53 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2015-07-05 01:32:53 +0200 |
commit | 2b3553306df59b6a7998aac5bd1b2e6ba07b4583 (patch) | |
tree | c370ec040623a5c2026f1596ef34293248b94f79 /engines | |
parent | cc471ecd078c4a7f19c2794ac8a8479c1ad4d26b (diff) | |
download | scummvm-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')
-rw-r--r-- | engines/made/music.cpp | 1 |
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; |