[Scummvm-cvs-logs] SF.net SVN: scummvm:[39646] scummvm/trunk/engines/parallaction/objects.h

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Mon Mar 23 21:42:53 CET 2009


Revision: 39646
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39646&view=rev
Author:   peres001
Date:     2009-03-23 20:42:53 +0000 (Mon, 23 Mar 2009)

Log Message:
-----------
Oops.

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/objects.h

Modified: scummvm/trunk/engines/parallaction/objects.h
===================================================================
--- scummvm/trunk/engines/parallaction/objects.h	2009-03-23 20:41:54 UTC (rev 39645)
+++ scummvm/trunk/engines/parallaction/objects.h	2009-03-23 20:42:53 UTC (rev 39646)
@@ -248,7 +248,9 @@
 	}
 
 	~TypeData() {
-		_gfxobj->release();
+		if (_gfxobj) {
+			_gfxobj->release();
+		}
 		delete _speakDialogue;
 	}
 };


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