forked from enlightenment/efl
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:
parent
1e12897455
commit
f757fe5ccf
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue