[Scummvm-cvs-logs] SF.net SVN: scummvm: [27376] scummvm/trunk/engines/cine/object.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue Jun 12 14:49:08 CEST 2007


Revision: 27376
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27376&view=rev
Author:   thebluegr
Date:     2007-06-12 05:49:07 -0700 (Tue, 12 Jun 2007)

Log Message:
-----------
Fix for #1733238 - FW: crash in copier room

Modified Paths:
--------------
    scummvm/trunk/engines/cine/object.cpp

Modified: scummvm/trunk/engines/cine/object.cpp
===================================================================
--- scummvm/trunk/engines/cine/object.cpp	2007-06-12 12:22:25 UTC (rev 27375)
+++ scummvm/trunk/engines/cine/object.cpp	2007-06-12 12:49:07 UTC (rev 27376)
@@ -160,7 +160,11 @@
 
 	tempPtr2->previous = currentHeadPtr->previous;
 
-	free(currentHeadPtr);
+	// FIXME: is this needed? It causes crashes in Windows in the drawOverlays function
+	// (the currentOverlay pointer is incorrect)
+	// Removing this fixes bug #1733238 - FW: crash in copier room
+	// Also, it stops the game from crashing right after the introduction
+	//free(currentHeadPtr);
 	return 0;
 }
 


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