From d80023c737d68495bc40233af7466a81fafd1989 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 17 Jul 2019 17:28:03 +0200 Subject: HDB: Fix delete mismatch --- engines/hdb/map.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/hdb') 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; -- cgit v1.2.3