forked from enlightenment/efl
efl_canvas_animation_player: fix double free
Summary: when we are returning 0 in a animation callback, the animator will be deleted. This fixes a crash in tab_pager. Depends on D10306 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10307
This commit is contained in:
parent
470c6516fe
commit
dd093de23c
|
@ -149,6 +149,7 @@ _animator_cb(void *data)
|
|||
}
|
||||
efl_player_playing_set(eo_obj, EINA_FALSE);
|
||||
|
||||
pd->animator = NULL;
|
||||
return ECORE_CALLBACK_CANCEL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue