diff options
Diffstat (limited to 'engines/parallaction')
-rw-r--r-- | engines/parallaction/exec_br.cpp | 4 | ||||
-rw-r--r-- | engines/parallaction/parallaction_br.cpp | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/engines/parallaction/exec_br.cpp b/engines/parallaction/exec_br.cpp index 1d8724e2d8..99aa27b30f 100644 --- a/engines/parallaction/exec_br.cpp +++ b/engines/parallaction/exec_br.cpp @@ -107,10 +107,14 @@ void Parallaction_br::clearSubtitles() { if (_subtitle[0]) { _gfx->hideLabel(_subtitle[0]); } + delete _subtitle[0]; + _subtitle[0] = 0; if (_subtitle[1]) { _gfx->hideLabel(_subtitle[1]); } + delete _subtitle[1]; + _subtitle[1] = 0; } diff --git a/engines/parallaction/parallaction_br.cpp b/engines/parallaction/parallaction_br.cpp index c39989de45..457c421fd7 100644 --- a/engines/parallaction/parallaction_br.cpp +++ b/engines/parallaction/parallaction_br.cpp @@ -228,7 +228,6 @@ void Parallaction_br::freeCharacter() { void Parallaction_br::freeLocation(bool removeAll) { // free open location stuff clearSubtitles(); - _subtitle[0] = _subtitle[1] = 0; _localFlagNames->clear(); |