diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2016-09-07 15:56:54 +0300 |
---|---|---|
committer | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2016-09-07 15:56:54 +0300 |
commit | 35f562ea3e3de27b0de4f382a6d567f0c8bf5d7a (patch) | |
tree | 1ca2fd2ab26c6447b99d461e72c2ca1862170318 /drape_frontend | |
parent | fd1e7f72f76c29d3a132c50ce2ee3ffa676e4301 (diff) |
Fixed memory leak in animation subsystem
Diffstat (limited to 'drape_frontend')
-rw-r--r-- | drape_frontend/animation/animation.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drape_frontend/animation/animation.hpp b/drape_frontend/animation/animation.hpp index 8d788e55f6..ea5817078b 100644 --- a/drape_frontend/animation/animation.hpp +++ b/drape_frontend/animation/animation.hpp @@ -79,6 +79,8 @@ public: , m_couldBeRewinded(true) {} + virtual ~Animation() = default; + virtual void OnStart() { if (m_onStartAction != nullptr) m_onStartAction(this); } virtual void OnFinish() { if (m_onFinishAction != nullptr) m_onFinishAction(this); } virtual void Interrupt() { if (m_onInterruptAction != nullptr) m_onInterruptAction(this); } |