elm_box.c: ELM_SAFE_FREE adoption for box.

I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
This commit is contained in:
Daniel Juyung Seo 2013-05-29 20:40:06 +09:00
parent 7eef2d1892
commit 6320433058
1 changed files with 2 additions and 2 deletions

View File

@ -360,7 +360,7 @@ _transition_layout_animation_stop(Elm_Box_Transition *layout_data)
{
layout_data->animation_ended = EINA_TRUE;
ELM_FREE_FUNC(layout_data->animator, ecore_animator_del);
ELM_SAFE_FREE(layout_data->animator, ecore_animator_del);
if (layout_data->transition_end_cb)
layout_data->transition_end_cb(layout_data->transition_end_data);
@ -787,7 +787,7 @@ elm_box_transition_free(void *data)
(box_data->box, SIG_CHILD_ADDED, _transition_layout_child_added);
evas_object_smart_callback_del
(box_data->box, SIG_CHILD_REMOVED, _transition_layout_child_removed);
ELM_FREE_FUNC(box_data->animator, ecore_animator_del);
if (box_data->animator) ecore_animator_del(box_data->animator);
free(data);
}