diff options
author | Sven Hesse | 2008-05-13 15:40:29 +0000 |
---|---|---|
committer | Sven Hesse | 2008-05-13 15:40:29 +0000 |
commit | 317b382757459e5ccd6ed336e4161f32387307b8 (patch) | |
tree | 1d8e886f1780aab77ed805e8eeebd317a4f3bd4a /engines | |
parent | a392bc4b0e860429ec8ba7a79bc6ed4eab8f0335 (diff) | |
download | scummvm-rg350-317b382757459e5ccd6ed336e4161f32387307b8.tar.gz scummvm-rg350-317b382757459e5ccd6ed336e4161f32387307b8.tar.bz2 scummvm-rg350-317b382757459e5ccd6ed336e4161f32387307b8.zip |
Fixing a segfault when quitting while an object video with sound plays
svn-id: r32086
Diffstat (limited to 'engines')
-rw-r--r-- | engines/gob/gob.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp index 41f268eba2..5871151d6e 100644 --- a/engines/gob/gob.cpp +++ b/engines/gob/gob.cpp @@ -97,10 +97,11 @@ GobEngine::GobEngine(OSystem *syst) : Engine(syst) { } GobEngine::~GobEngine() { + deinitGameParts(); + // Stop all mixer streams (except for the permanent ones). _vm->_mixer->stopAll(); - deinitGameParts(); delete[] _startTot; delete[] _startTot0; } |