diff options
Diffstat (limited to 'engines/pink/objects/sequences/sequencer.cpp')
-rw-r--r-- | engines/pink/objects/sequences/sequencer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/pink/objects/sequences/sequencer.cpp b/engines/pink/objects/sequences/sequencer.cpp index 8facfe32e9..30048814fb 100644 --- a/engines/pink/objects/sequences/sequencer.cpp +++ b/engines/pink/objects/sequences/sequencer.cpp @@ -40,6 +40,10 @@ Sequencer::~Sequencer() { for (uint i = 0; i < _sequences.size(); ++i) { delete _sequences[i]; } + for (uint i = 0; i < _timers.size(); ++i) { + delete _timers[i]; + } + removeContext(_context); } void Sequencer::deserialize(Archive &archive) { |