diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/parallaction/parallaction_br.cpp | 6 | ||||
-rw-r--r-- | engines/parallaction/parallaction_ns.cpp | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/engines/parallaction/parallaction_br.cpp b/engines/parallaction/parallaction_br.cpp index 8929efdcbc..835bcae47a 100644 --- a/engines/parallaction/parallaction_br.cpp +++ b/engines/parallaction/parallaction_br.cpp @@ -131,11 +131,13 @@ int Parallaction_br::go() { void Parallaction_br::freeFonts() { - delete _menuFont; delete _dialogueFont; - return; + _menuFont = 0; + _dialogueFont = 0; + _labelFont = 0; + _introFont = 0; } diff --git a/engines/parallaction/parallaction_ns.cpp b/engines/parallaction/parallaction_ns.cpp index f4a1ef03ec..a0fba08287 100644 --- a/engines/parallaction/parallaction_ns.cpp +++ b/engines/parallaction/parallaction_ns.cpp @@ -214,6 +214,10 @@ void Parallaction_ns::freeFonts() { delete _menuFont; delete _introFont; + _menuFont = 0; + _dialogueFont = 0; + _labelFont = 0; + _introFont = 0; } |