diff options
author | Nicola Mettifogo | 2008-07-24 09:42:44 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2008-07-24 09:42:44 +0000 |
commit | ba1f91eba80dd6f65101d4461fdd4b8612a12c7b (patch) | |
tree | d3947581ec58e9f1f2fcfcf7c9eda56263f43ebb | |
parent | 4936e5f7df8e2257b1af4ee3ab2fdcd8cb88e91b (diff) | |
download | scummvm-rg350-ba1f91eba80dd6f65101d4461fdd4b8612a12c7b.tar.gz scummvm-rg350-ba1f91eba80dd6f65101d4461fdd4b8612a12c7b.tar.bz2 scummvm-rg350-ba1f91eba80dd6f65101d4461fdd4b8612a12c7b.zip |
Fixed leak in new gui code.
svn-id: r33261
-rw-r--r-- | engines/parallaction/gui_ns.cpp | 5 |
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]); |