summaryrefslogtreecommitdiff
path: root/src/static_libs
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2019-11-26 13:50:00 +0900
committerHermet Park <hermetpark@gmail.com>2019-11-26 13:50:29 +0900
commit256c79283797f9540e2834542e5e49ecb38c8238 (patch)
treebf0c7ec9eae3d48c088d4708983da66b7cd7a052 /src/static_libs
parentf1275e86f49b7a798550f57a13495ec0c3d2805b (diff)
vg_common_json: Fix a missing of free after using
Summary: iterator itr will leak by going out the function widthout freeing. Test Plan: N/A Reviewers: Hermet, smohanty, kimcinoo Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10736
Diffstat (limited to 'src/static_libs')
-rw-r--r--src/static_libs/vg_common/vg_common_json.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/static_libs/vg_common/vg_common_json.c b/src/static_libs/vg_common/vg_common_json.c
index 734f7f648d..abad5f3fc9 100644
--- a/src/static_libs/vg_common/vg_common_json.c
+++ b/src/static_libs/vg_common/vg_common_json.c
@@ -365,6 +365,7 @@ _reset_vg_tree(Efl_VG *node)
365 Eina_Iterator *itr = efl_canvas_vg_container_children_get(node); 365 Eina_Iterator *itr = efl_canvas_vg_container_children_get(node);
366 EINA_ITERATOR_FOREACH(itr, child) 366 EINA_ITERATOR_FOREACH(itr, child)
367 _reset_vg_tree(child); 367 _reset_vg_tree(child);
368 if (itr) eina_iterator_free(itr);
368 } 369 }
369 efl_gfx_entity_visible_set(node, EINA_FALSE); 370 efl_gfx_entity_visible_set(node, EINA_FALSE);
370} 371}