forked from enlightenment/efl
edje_pick: fix memory leak while on group dependency build
@fix
This commit is contained in:
parent
3d452bdc60
commit
df9128c3e3
|
@ -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)); \
|
memcpy(ce_new, ce_cor, sizeof(*ce_new)); \
|
||||||
ce_new->id = (*current_id); \
|
ce_new->id = (*current_id); \
|
||||||
if (!eina_hash_find(out_file->collection, ce_new->entry)) \
|
if (!eina_hash_find(out_file->collection, ce_new->entry)) \
|
||||||
eina_hash_direct_add(out_file->collection, ce_new->entry, \
|
eina_hash_direct_add(out_file->collection, ce_new->entry, \
|
||||||
ce_new); \
|
ce_new); \
|
||||||
|
else \
|
||||||
|
free(ce_new); \
|
||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
eina_iterator_free(is); \
|
eina_iterator_free(is); \
|
||||||
|
|
Loading…
Reference in New Issue