summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2012-12-03 10:22:19 +0000
committerCedric BAIL <cedric.bail@free.fr>2012-12-03 10:22:19 +0000
commit9445974cb8e1438c9cf7a3f4c9375f5a1d994ddf (patch)
tree4ab1810dcf9ed83695ac13a1d99f773d8c08549e /src
parent3d346a65116635310f5e0d51f3c8af3f6ae62ef9 (diff)
ecore: don't crash if the animator is already destroyed.
SVN revision: 80038
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore/ecore_anim.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore/ecore_anim.c b/src/lib/ecore/ecore_anim.c
index c06d139add..4ae66a5a2f 100644
--- a/src/lib/ecore/ecore_anim.c
+++ b/src/lib/ecore/ecore_anim.c
@@ -402,6 +402,7 @@ ecore_animator_del(Ecore_Animator *obj)
402 Ecore_Animator_Private_Data *animator = eo_data_get(obj, MY_CLASS); 402 Ecore_Animator_Private_Data *animator = eo_data_get(obj, MY_CLASS);
403 _ecore_lock(); 403 _ecore_lock();
404 404
405 if (!animator) goto unlock;
405 if (animator->delete_me) 406 if (animator->delete_me)
406 { 407 {
407 data = animator->data; 408 data = animator->data;