diff options
author | Andrew Kurushin | 2005-07-19 19:44:20 +0000 |
---|---|---|
committer | Andrew Kurushin | 2005-07-19 19:44:20 +0000 |
commit | 6904278e231b03f566fb0203d966a6eeaa3185b1 (patch) | |
tree | 64923e312b92c21ae97805e20ab4b3fb70fd99b8 | |
parent | 606e7d0fc57908c1defff38bbccf4ff722d994e7 (diff) | |
download | scummvm-rg350-6904278e231b03f566fb0203d966a6eeaa3185b1.tar.gz scummvm-rg350-6904278e231b03f566fb0203d966a6eeaa3185b1.tar.bz2 scummvm-rg350-6904278e231b03f566fb0203d966a6eeaa3185b1.zip |
fix Music crash on exit
svn-id: r18562
-rw-r--r-- | saga/music.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/saga/music.cpp b/saga/music.cpp index 97ed39cb1b..f01a86451f 100644 --- a/saga/music.cpp +++ b/saga/music.cpp @@ -295,6 +295,8 @@ Music::Music(SagaEngine *vm, Audio::Mixer *mixer, MidiDriver *driver, int enable Music::~Music() { delete _player; + xmidiParser->setMidiDriver(NULL); + smfParser->setMidiDriver(NULL); delete xmidiParser; delete smfParser; } |