diff options
Diffstat (limited to 'engines/titanic/true_talk/tt_sentence.cpp')
-rw-r--r-- | engines/titanic/true_talk/tt_sentence.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/titanic/true_talk/tt_sentence.cpp b/engines/titanic/true_talk/tt_sentence.cpp index b20f760f48..a1cf261bf2 100644 --- a/engines/titanic/true_talk/tt_sentence.cpp +++ b/engines/titanic/true_talk/tt_sentence.cpp @@ -27,6 +27,11 @@ namespace Titanic { +TTsentenceConcept::~TTsentenceConcept() { + for (int idx = 0; idx < 5; ++idx) + delete _concepts[idx]; +} + TTsentenceConcept *TTsentenceConcept::addSibling() { if (_nextP != nullptr) // This should never happen |