woohyun pushed a commit to branch efl-1.9. http://git.enlightenment.org/core/efl.git/commit/?id=e6eafc517f341700bb9713fbe222bac0ae00bb5d
commit e6eafc517f341700bb9713fbe222bac0ae00bb5d Author: WooHyun Jung <wh0705.j...@samsung.com> Date: Thu Feb 27 10:31:42 2014 +0900 evas: replace EINA_LIST_FREE to EINA_LIST_FOREACH_SAFE. EINA_LIST_FREE does eina_list_remove_list, and clip_unset does the same thing to the same list pointer. So, EINA_LIST_FOREACH_SAFE is proper for this case. --- src/lib/evas/canvas/evas_object_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/evas/canvas/evas_object_main.c b/src/lib/evas/canvas/evas_object_main.c index edef53b..637551a 100644 --- a/src/lib/evas/canvas/evas_object_main.c +++ b/src/lib/evas/canvas/evas_object_main.c @@ -654,7 +654,7 @@ _destructor(Eo *eo_obj, void *_pd, va_list *list EINA_UNUSED) goto end; } evas_object_grabs_cleanup(eo_obj, obj); - EINA_LIST_FREE(obj->clip.clipees, tmp) + EINA_LIST_FOREACH_SAFE(obj->clip.clipees, l, l2, tmp) evas_object_clip_unset(tmp->object); EINA_LIST_FOREACH_SAFE(obj->proxy->proxies, l, l2, proxy) evas_object_image_source_unset(proxy); --