summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-06-01 10:46:29 +0900
committerHermet Park <chuneon.park@samsung.com>2020-06-01 10:47:48 +0900
commit0123c8b6fc7c35466bcd5e49b6ef82a3707b8052 (patch)
tree9507d609a57f7e25d0f946d8bb1253e023d00f24
parent34e855c1f18db30779daa71898ab62e3e83f495e (diff)
elm_gen****: free item_content map
Summary: this should be freeed. Both can be freed in group_del after the items are deleted. fix T8732 Reviewers: Hermet Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8732 Differential Revision: https://phab.enlightenment.org/D11882
-rw-r--r--src/lib/elementary/elm_gengrid.c2
-rw-r--r--src/lib/elementary/elm_genlist.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_gengrid.c b/src/lib/elementary/elm_gengrid.c
index 8446db8cab..d5c90277a5 100644
--- a/src/lib/elementary/elm_gengrid.c
+++ b/src/lib/elementary/elm_gengrid.c
@@ -4185,6 +4185,8 @@ _elm_gengrid_efl_canvas_group_group_del(Eo *obj, Elm_Gengrid_Data *sd)
4185 _item_cache_zero(sd); 4185 _item_cache_zero(sd);
4186 ecore_job_del(sd->calc_job); 4186 ecore_job_del(sd->calc_job);
4187 4187
4188 eina_hash_free(sd->content_item_map);
4189
4188 efl_canvas_group_del(efl_super(obj, MY_CLASS)); 4190 efl_canvas_group_del(efl_super(obj, MY_CLASS));
4189} 4191}
4190 4192
diff --git a/src/lib/elementary/elm_genlist.c b/src/lib/elementary/elm_genlist.c
index 6866b14965..d6125594fe 100644
--- a/src/lib/elementary/elm_genlist.c
+++ b/src/lib/elementary/elm_genlist.c
@@ -5920,6 +5920,7 @@ _elm_genlist_efl_canvas_group_group_del(Eo *obj, Elm_Genlist_Data *sd)
5920 5920
5921 eina_stringshare_replace(&sd->decorate_it_type, NULL); 5921 eina_stringshare_replace(&sd->decorate_it_type, NULL);
5922 5922
5923 eina_hash_free(sd->content_item_map);
5923 _elm_genlist_tree_effect_stop(sd); 5924 _elm_genlist_tree_effect_stop(sd);
5924} 5925}
5925 5926