summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_clip.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/evas/canvas/evas_clip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_clip.c b/src/lib/evas/canvas/evas_clip.c
index a3f7480d0f..4472fd59bd 100644
--- a/src/lib/evas/canvas/evas_clip.c
+++ b/src/lib/evas/canvas/evas_clip.c
@@ -83,7 +83,7 @@ evas_object_child_map_across_mark(Evas_Object *eo_obj, Evas_Object_Protected_Dat
83 visited = eina_hash_pointer_new(NULL); 83 visited = eina_hash_pointer_new(NULL);
84 clear_visited = EINA_TRUE; 84 clear_visited = EINA_TRUE;
85 } 85 }
86 if (eina_hash_find(visited, &eo_obj) == (void *)1) return; 86 if (eina_hash_find(visited, &eo_obj) == (void *)1) goto end;
87 else eina_hash_direct_add(visited, &eo_obj, (void *)1); 87 else eina_hash_direct_add(visited, &eo_obj, (void *)1);
88 88
89 if ((obj->map->cur.map_parent != map_obj) || force) 89 if ((obj->map->cur.map_parent != map_obj) || force)
@@ -124,6 +124,7 @@ evas_object_child_map_across_mark(Evas_Object *eo_obj, Evas_Object_Protected_Dat
124 } 124 }
125 } 125 }
126 } 126 }
127end:
127 if (clear_visited) eina_hash_free(visited); 128 if (clear_visited) eina_hash_free(visited);
128#endif 129#endif
129} 130}