forked from enlightenment/efl
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
This commit is contained in:
parent
f1275e86f4
commit
256c792837
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue