[Scummvm-cvs-logs] CVS: scummvm/gui newgui.cpp,1.24,1.25
Lionel Ulmer
bbrox at users.sourceforge.net
Sat Oct 26 02:32:01 CEST 2002
Update of /cvsroot/scummvm/scummvm/gui
In directory usw-pr-cvs1:/tmp/cvs-serv23361/gui
Modified Files:
newgui.cpp
Log Message:
Fix warning found by Valgrind.
Index: newgui.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/newgui.cpp,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- newgui.cpp 22 Oct 2002 22:35:07 -0000 1.24
+++ newgui.cpp 26 Oct 2002 09:31:14 -0000 1.25
@@ -230,7 +230,7 @@
_system->hide_overlay();
if (_screen) {
- delete _screen;
+ delete [] _screen;
_screen = 0;
}
More information about the Scummvm-git-logs
mailing list