aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
authorEugene Sandulenko2019-07-17 17:28:03 +0200
committerEugene Sandulenko2019-09-03 17:17:22 +0200
commitd80023c737d68495bc40233af7466a81fafd1989 (patch)
treeba83628c2f1c07cea471aff3a6d32dfbc50c0379 /engines/hdb
parente74bdbf410152bf4610844369dc44358ce429882 (diff)
downloadscummvm-rg350-d80023c737d68495bc40233af7466a81fafd1989.tar.gz
scummvm-rg350-d80023c737d68495bc40233af7466a81fafd1989.tar.bz2
scummvm-rg350-d80023c737d68495bc40233af7466a81fafd1989.zip
HDB: Fix delete mismatch
Diffstat (limited to 'engines/hdb')
-rw-r--r--engines/hdb/map.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/hdb/map.cpp b/engines/hdb/map.cpp
index b209332c94..7846575f0d 100644
--- a/engines/hdb/map.cpp
+++ b/engines/hdb/map.cpp
@@ -228,11 +228,11 @@ void Map::restartSystem() {
_listFGAnimMedium.clear();
_listFGAnimSlow.clear();
- delete _background;
+ delete[] _background;
_background = NULL;
- delete _foreground;
+ delete[] _foreground;
_foreground = NULL;
- delete _iconList;
+ delete[] _iconList;
_iconList = NULL;
_width = _height = 0;