summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWoochanlee <wc0917.lee@samsung.com>2020-01-07 10:13:04 -0500
committerMike Blumenkrantz <zmike@samsung.com>2020-01-07 10:13:04 -0500
commit8f5f63cafa9171f1e6582aa7ad080bfc86f6805e (patch)
tree8ce94ec7c40fbb9ec33b808bdd2a68aec67092ca
parent227483e079de4e2dbe6977a4a3d0afdd4e761953 (diff)
edje_load: Delete wrong free callback set for hash.
Summary: This hash free callback already sets in the creating time. Invalid free callback is being called additionally. Therefore, the existing callback(_edje_user_definition_list_free_internal) could not be called, and a memory leak is occurring. Reviewers: zmike, cedric Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11030
-rw-r--r--src/lib/edje/edje_load.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c
index 0e74db9fca..ed72971d1d 100644
--- a/src/lib/edje/edje_load.c
+++ b/src/lib/edje/edje_load.c
@@ -1542,8 +1542,6 @@ _edje_object_file_set_internal(Evas_Object *obj, const Eina_File *file, const ch
1542 Eina_List *l, *ll; 1542 Eina_List *l, *ll;
1543 1543
1544 it = eina_hash_iterator_data_new(collect); 1544 it = eina_hash_iterator_data_new(collect);
1545 /* the eud structs get manually freed below */
1546 eina_hash_free_cb_set(collect, (void*)eina_list_free);
1547 EINA_ITERATOR_FOREACH(it, l) 1545 EINA_ITERATOR_FOREACH(it, l)
1548 { 1546 {
1549 EINA_LIST_FOREACH(l, ll, eud) 1547 EINA_LIST_FOREACH(l, ll, eud)