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

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Thu Apr 30 17:55:59 CEST 2009


Revision: 40215
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40215&view=rev
Author:   drmccoy
Date:     2009-04-30 15:55:59 +0000 (Thu, 30 Apr 2009)

Log Message:
-----------
Plugging leaks

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

Modified: scummvm/trunk/engines/gob/init.cpp
===================================================================
--- scummvm/trunk/engines/gob/init.cpp	2009-04-30 09:36:22 UTC (rev 40214)
+++ scummvm/trunk/engines/gob/init.cpp	2009-04-30 15:55:59 UTC (rev 40215)
@@ -104,6 +104,9 @@
 
 		scnPlayer.play(_vm->_startTot);
 
+		delete _palDesc;
+		_vm->_video->initPrimary(-1);
+		cleanup();
 		return;
 	}
 
@@ -114,6 +117,9 @@
 
 		batPlayer.play(_vm->_startTot);
 
+		delete _palDesc;
+		_vm->_video->initPrimary(-1);
+		cleanup();
 		return;
 	}
 


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