aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorRobert Špalek2009-11-01 23:20:19 +0000
committerRobert Špalek2009-11-01 23:20:19 +0000
commit9ad86a800af7124684fca7fbf762feec5cd83574 (patch)
tree42ecd15c927b7304b92587e7166bee3249f23b6f /engines
parentf77446a500046ae156e07ea7cdbebbf23c5877b3 (diff)
downloadscummvm-rg350-9ad86a800af7124684fca7fbf762feec5cd83574.tar.gz
scummvm-rg350-9ad86a800af7124684fca7fbf762feec5cd83574.tar.bz2
scummvm-rg350-9ad86a800af7124684fca7fbf762feec5cd83574.zip
Fix SIGSEGV when quitting the game during playing sounds
svn-id: r45605
Diffstat (limited to 'engines')
-rw-r--r--engines/draci/draci.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/draci/draci.cpp b/engines/draci/draci.cpp
index fec53392d6..a491ee6fe6 100644
--- a/engines/draci/draci.cpp
+++ b/engines/draci/draci.cpp
@@ -324,11 +324,11 @@ DraciEngine::~DraciEngine() {
delete _itemImagesArchive;
delete _stringsArchive;
- delete _soundsArchive;
- delete _dubbingArchive;
delete _sound;
delete _music;
delete _midiDriver;
+ delete _soundsArchive;
+ delete _dubbingArchive;
// Remove all of our debug levels here
Common::clearAllDebugChannels();