[TIMOB-15383] Fixed memory leak in animation
Merge pull request #4751 from bryan-m-hughes/timob-15383

[TIMOB-15383] Fixed memory leak in animation