[Scummvm-cvs-logs] SF.net SVN: scummvm: [22673] scummvm/trunk/graphics/cursorman.cpp
wjpalenstijn at users.sourceforge.net
wjpalenstijn at users.sourceforge.net
Sat May 27 04:48:07 CEST 2006
Revision: 22673
Author: wjpalenstijn
Date: 2006-05-27 04:47:44 -0700 (Sat, 27 May 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=22673&view=rev
Log Message:
-----------
delete[] instead of delete
Modified Paths:
--------------
scummvm/trunk/graphics/cursorman.cpp
Modified: scummvm/trunk/graphics/cursorman.cpp
===================================================================
--- scummvm/trunk/graphics/cursorman.cpp 2006-05-27 06:38:45 UTC (rev 22672)
+++ scummvm/trunk/graphics/cursorman.cpp 2006-05-27 11:47:44 UTC (rev 22673)
@@ -89,7 +89,7 @@
uint size = w * h;
if (cur->_size < size) {
- delete cur->_data;
+ delete[] cur->_data;
cur->_data = new byte[size];
cur->_size = size;
}
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