hermet pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=256c79283797f9540e2834542e5e49ecb38c8238
commit 256c79283797f9540e2834542e5e49ecb38c8238 Author: JunsuChoi <jsuya.c...@samsung.com> Date: Tue Nov 26 13:50:00 2019 +0900 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 --- src/static_libs/vg_common/vg_common_json.c | 1 + 1 file changed, 1 insertion(+) 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) Eina_Iterator *itr = efl_canvas_vg_container_children_get(node); EINA_ITERATOR_FOREACH(itr, child) _reset_vg_tree(child); + if (itr) eina_iterator_free(itr); } efl_gfx_entity_visible_set(node, EINA_FALSE); } --