aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/parallaction/gui_ns.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/parallaction/gui_ns.cpp b/engines/parallaction/gui_ns.cpp
index 258463bbbe..2428c4b989 100644
--- a/engines/parallaction/gui_ns.cpp
+++ b/engines/parallaction/gui_ns.cpp
@@ -501,6 +501,11 @@ public:
_block.create(BLOCK_WIDTH, BLOCK_HEIGHT, 1);
}
+ ~SelectCharacterInputState() {
+ _block.free();
+ _emptySlots.free();
+ }
+
void cleanup() {
_points[0] = _points[1] = _points[2] = 0;
_vm->_gfx->hideLabel(_labels[1]);