diff options
-rw-r--r-- | engines/parallaction/animation.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/parallaction/animation.cpp b/engines/parallaction/animation.cpp index d910875f09..fc11383fc0 100644 --- a/engines/parallaction/animation.cpp +++ b/engines/parallaction/animation.cpp @@ -705,6 +705,12 @@ Program::Program() { Program::~Program() { delete[] _locals; + + InstructionList::iterator it = _instructions.begin(); + for (; it != _instructions.end(); it++) + delete *it; + + _instructions.clear(); } |