diff options
author | Lionel Ulmer | 2002-10-26 09:31:14 +0000 |
---|---|---|
committer | Lionel Ulmer | 2002-10-26 09:31:14 +0000 |
commit | ab3aecddd57a21a5042a93c0df27e543769a9d21 (patch) | |
tree | 4056e333ef632b98ad72ecd56a270bf961dfe4b0 /gui | |
parent | c65eb3442a9a045f47a3be3fd90c2ceba89dfb5c (diff) | |
download | scummvm-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.cpp | 2 |
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; } |