summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung@samsung.com>2014-02-27 10:31:42 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2014-03-03 09:23:05 +0900
commiteb022cba1d1df351d5f5043879eade5cee9d918c (patch)
tree974cb606b162df5151d18552d18dbc933bd91ddf
parenteb276bd81b3374d7787aa136dd51f756a6bb34bb (diff)
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.
-rw-r--r--src/lib/evas/canvas/evas_object_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_main.c b/src/lib/evas/canvas/evas_object_main.c
index 0480098e79..eed4429b69 100644
--- a/src/lib/evas/canvas/evas_object_main.c
+++ b/src/lib/evas/canvas/evas_object_main.c
@@ -653,7 +653,7 @@ _destructor(Eo *eo_obj, void *_pd, va_list *list EINA_UNUSED)
653 goto end; 653 goto end;
654 } 654 }
655 evas_object_grabs_cleanup(eo_obj, obj); 655 evas_object_grabs_cleanup(eo_obj, obj);
656 EINA_LIST_FREE(obj->clip.clipees, tmp) 656 EINA_LIST_FOREACH_SAFE(obj->clip.clipees, l, l2, tmp)
657 evas_object_clip_unset(tmp->object); 657 evas_object_clip_unset(tmp->object);
658 while (obj->proxy->proxies) 658 while (obj->proxy->proxies)
659 evas_object_image_source_unset(obj->proxy->proxies->data); 659 evas_object_image_source_unset(obj->proxy->proxies->data);