[Scummvm-cvs-logs] SF.net SVN: scummvm: [33038] residual/trunk/engine/textobject.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Sun Jul 13 17:42:46 CEST 2008
Revision: 33038
http://scummvm.svn.sourceforge.net/scummvm/?rev=33038&view=rev
Author: eriktorbjorn
Date: 2008-07-13 08:42:45 -0700 (Sun, 13 Jul 2008)
Log Message:
-----------
Fixed Valgrind warning. Thanks to aquadran's recent changes, I can now start
the game and quit it (using the in-game user interface) without any unexpected
warnings.
Modified Paths:
--------------
residual/trunk/engine/textobject.cpp
Modified: residual/trunk/engine/textobject.cpp
===================================================================
--- residual/trunk/engine/textobject.cpp 2008-07-13 15:08:23 UTC (rev 33037)
+++ residual/trunk/engine/textobject.cpp 2008-07-13 15:42:45 UTC (rev 33038)
@@ -192,7 +192,7 @@
if (_textObjectHandle) {
for (int i = 0; i < _numberLines; i++) {
g_driver->destroyTextBitmap(_textObjectHandle[i]);
- delete[] _textObjectHandle[i];
+ delete _textObjectHandle[i];
}
free(_textObjectHandle);
_textObjectHandle = NULL;
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