edje: unset animator pointer after free in _edje_file_del()

this function may be called repeatedly with no other animator created
in between, leading to invalid object access

@fix
This commit is contained in:
Mike Blumenkrantz 2016-02-24 11:52:56 -05:00
parent 1e12897455
commit f757fe5ccf
1 changed files with 1 additions and 0 deletions

View File

@ -1720,6 +1720,7 @@ _edje_file_del(Edje *ed)
_edje_animators = eina_list_remove(_edje_animators, ed);
eo_do(ed->obj, eo_event_callback_del(EFL_CORE_ANIMATOR_EVENT_ANIMATOR_TICK, _edje_timer_cb, ed));
ecore_animator_del(ed->animator);
ed->animator = NULL;
if (ed->pending_actions)
{