[Scummvm-cvs-logs] SF.net SVN: scummvm: [32086] scummvm/trunk/engines/gob/gob.cpp

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Tue May 13 17:40:30 CEST 2008


Revision: 32086
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32086&view=rev
Author:   drmccoy
Date:     2008-05-13 08:40:29 -0700 (Tue, 13 May 2008)

Log Message:
-----------
Fixing a segfault when quitting while an object video with sound plays

Modified Paths:
--------------
    scummvm/trunk/engines/gob/gob.cpp

Modified: scummvm/trunk/engines/gob/gob.cpp
===================================================================
--- scummvm/trunk/engines/gob/gob.cpp	2008-05-13 13:24:49 UTC (rev 32085)
+++ scummvm/trunk/engines/gob/gob.cpp	2008-05-13 15:40:29 UTC (rev 32086)
@@ -97,10 +97,11 @@
 }
 
 GobEngine::~GobEngine() {
+	deinitGameParts();
+
 	// Stop all mixer streams (except for the permanent ones).
 	_vm->_mixer->stopAll();
 
-	deinitGameParts();
 	delete[] _startTot;
 	delete[] _startTot0;
 }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list