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
This commit is contained in:
Marcel Hollerbach 2020-06-01 10:46:29 +09:00 committed by Hermet Park
parent 34e855c1f1
commit 0123c8b6fc
2 changed files with 3 additions and 0 deletions

View File

@ -4185,6 +4185,8 @@ _elm_gengrid_efl_canvas_group_group_del(Eo *obj, Elm_Gengrid_Data *sd)
_item_cache_zero(sd);
ecore_job_del(sd->calc_job);
eina_hash_free(sd->content_item_map);
efl_canvas_group_del(efl_super(obj, MY_CLASS));
}

View File

@ -5920,6 +5920,7 @@ _elm_genlist_efl_canvas_group_group_del(Eo *obj, Elm_Genlist_Data *sd)
eina_stringshare_replace(&sd->decorate_it_type, NULL);
eina_hash_free(sd->content_item_map);
_elm_genlist_tree_effect_stop(sd);
}