diff options
author | Eugene Sandulenko | 2019-07-17 17:28:03 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:22 +0200 |
commit | d80023c737d68495bc40233af7466a81fafd1989 (patch) | |
tree | ba83628c2f1c07cea471aff3a6d32dfbc50c0379 /engines/hdb | |
parent | e74bdbf410152bf4610844369dc44358ce429882 (diff) | |
download | scummvm-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.cpp | 6 |
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; |