aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
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;
}