furrymyad pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=df9128c3e30c720503361e1930d643ff7f94d95d
commit df9128c3e30c720503361e1930d643ff7f94d95d Author: Vitalii Vorobiov <vi.vorob...@samsung.com> Date: Tue Dec 13 14:17:39 2016 +0200 edje_pick: fix memory leak while on group dependency build @fix --- src/bin/edje/edje_pick.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/bin/edje/edje_pick.c b/src/bin/edje/edje_pick.c index 2253932..3b3c2ff 100644 --- a/src/bin/edje/edje_pick.c +++ b/src/bin/edje/edje_pick.c @@ -619,8 +619,10 @@ _edje_pick_header_dependencies_check(Edje_File *out_file, Edje_File *edf, Eina_L memcpy(ce_new, ce_cor, sizeof(*ce_new)); \ ce_new->id = (*current_id); \ if (!eina_hash_find(out_file->collection, ce_new->entry)) \ - eina_hash_direct_add(out_file->collection, ce_new->entry, \ - ce_new); \ + eina_hash_direct_add(out_file->collection, ce_new->entry, \ + ce_new); \ + else \ + free(ce_new); \ } \ } \ eina_iterator_free(is); \ --