ecore: don't crash if the animator is already destroyed.

SVN revision: 80038
This commit is contained in:
Cedric BAIL 2012-12-03 10:22:19 +00:00
parent 3d346a6511
commit 9445974cb8
1 changed files with 1 additions and 0 deletions

View File

@ -402,6 +402,7 @@ ecore_animator_del(Ecore_Animator *obj)
Ecore_Animator_Private_Data *animator = eo_data_get(obj, MY_CLASS); Ecore_Animator_Private_Data *animator = eo_data_get(obj, MY_CLASS);
_ecore_lock(); _ecore_lock();
if (!animator) goto unlock;
if (animator->delete_me) if (animator->delete_me)
{ {
data = animator->data; data = animator->data;