aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2008-01-18 17:23:10 +0000
committerMax Horn2008-01-18 17:23:10 +0000
commit9a1e7a0c3536761dc81564d09300cdae59ff5f61 (patch)
tree45f5d9f711e777f896f6a8f333d3db5436e0ef12
parenteb03de63bc7ac85d1c0c37a01998751c59ac0ec4 (diff)
downloadscummvm-rg350-9a1e7a0c3536761dc81564d09300cdae59ff5f61.tar.gz
scummvm-rg350-9a1e7a0c3536761dc81564d09300cdae59ff5f61.tar.bz2
scummvm-rg350-9a1e7a0c3536761dc81564d09300cdae59ff5f61.zip
Possible fix for bug #1874516 (QUEEN: Lockup on quit)
svn-id: r30551
-rw-r--r--engines/queen/music.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/queen/music.cpp b/engines/queen/music.cpp
index 94c67f24e9..a668d38b40 100644
--- a/engines/queen/music.cpp
+++ b/engines/queen/music.cpp
@@ -91,8 +91,8 @@ MidiMusic::~MidiMusic() {
_driver->setTimerCallback(0, 0);
_parser->unloadMusic();
_driver->close();
- delete _driver;
delete _parser;
+ delete _driver;
delete[] _buf;
delete[] _musicData;
}