aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorLionel Ulmer2002-10-26 09:31:14 +0000
committerLionel Ulmer2002-10-26 09:31:14 +0000
commitab3aecddd57a21a5042a93c0df27e543769a9d21 (patch)
tree4056e333ef632b98ad72ecd56a270bf961dfe4b0 /gui
parentc65eb3442a9a045f47a3be3fd90c2ceba89dfb5c (diff)
downloadscummvm-rg350-ab3aecddd57a21a5042a93c0df27e543769a9d21.tar.gz
scummvm-rg350-ab3aecddd57a21a5042a93c0df27e543769a9d21.tar.bz2
scummvm-rg350-ab3aecddd57a21a5042a93c0df27e543769a9d21.zip
Fix warning found by Valgrind.
svn-id: r5314
Diffstat (limited to 'gui')
-rw-r--r--gui/newgui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index 75c416750e..ed9d20fb16 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -230,7 +230,7 @@ void NewGui::restoreState()
_system->hide_overlay();
if (_screen) {
- delete _screen;
+ delete [] _screen;
_screen = 0;
}