aboutsummaryrefslogtreecommitdiff
path: root/engines/access
diff options
context:
space:
mode:
authorEugene Sandulenko2016-05-15 12:35:23 +0200
committerEugene Sandulenko2016-05-15 12:35:23 +0200
commit6858dbe2c283615f358af3be357aca452e34cf39 (patch)
tree5747c590a970e811f22e84e1d82e0d246c6a5b21 /engines/access
parenta3d1ecb7d12d8bdc71cc58e8911eca943e2c27f9 (diff)
downloadscummvm-rg350-6858dbe2c283615f358af3be357aca452e34cf39.tar.gz
scummvm-rg350-6858dbe2c283615f358af3be357aca452e34cf39.tar.bz2
scummvm-rg350-6858dbe2c283615f358af3be357aca452e34cf39.zip
ACCESS: Fix memory leak
Diffstat (limited to 'engines/access')
-rw-r--r--engines/access/bubble_box.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/access/bubble_box.cpp b/engines/access/bubble_box.cpp
index f41670be24..89c5d0727d 100644
--- a/engines/access/bubble_box.cpp
+++ b/engines/access/bubble_box.cpp
@@ -642,7 +642,9 @@ int BubbleBox::doBox_v1(int item, int box, int &btnSelected) {
}
}
}
-
+
+ delete icons;
+
_vm->_screen->restoreScreen();
_vm->_boxDataStart = _startItem;
_vm->_boxSelectYOld = -1;