[Scummvm-cvs-logs] SF.net SVN: scummvm:[45198] scummvm/trunk/engines/sci/gui/gui_cursor.cpp

wjpalenstijn at users.sourceforge.net wjpalenstijn at users.sourceforge.net
Sat Oct 17 20:59:13 CEST 2009


Revision: 45198
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45198&view=rev
Author:   wjpalenstijn
Date:     2009-10-17 18:59:13 +0000 (Sat, 17 Oct 2009)

Log Message:
-----------
SCI: Fix delete/delete[] mismatch

Modified Paths:
--------------
    scummvm/trunk/engines/sci/gui/gui_cursor.cpp

Modified: scummvm/trunk/engines/sci/gui/gui_cursor.cpp
===================================================================
--- scummvm/trunk/engines/sci/gui/gui_cursor.cpp	2009-10-17 18:03:31 UTC (rev 45197)
+++ scummvm/trunk/engines/sci/gui/gui_cursor.cpp	2009-10-17 18:59:13 UTC (rev 45198)
@@ -67,7 +67,7 @@
 	if (resourceId == -1) {
 		// no resourceId given, so we actually hide the cursor
 		hide();
-		delete rawBitmap;
+		delete[] rawBitmap;
 		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