From 9445974cb8e1438c9cf7a3f4c9375f5a1d994ddf Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Mon, 3 Dec 2012 10:22:19 +0000 Subject: [PATCH] ecore: don't crash if the animator is already destroyed. SVN revision: 80038 --- src/lib/ecore/ecore_anim.c | 1 + 1 file changed, 1 insertion(+) 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) Ecore_Animator_Private_Data *animator = eo_data_get(obj, MY_CLASS); _ecore_lock(); + if (!animator) goto unlock; if (animator->delete_me) { data = animator->data;