diff options
-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; |