forked from enlightenment/efl
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:
parent
34e855c1f1
commit
0123c8b6fc
|
@ -4185,6 +4185,8 @@ _elm_gengrid_efl_canvas_group_group_del(Eo *obj, Elm_Gengrid_Data *sd)
|
||||||
_item_cache_zero(sd);
|
_item_cache_zero(sd);
|
||||||
ecore_job_del(sd->calc_job);
|
ecore_job_del(sd->calc_job);
|
||||||
|
|
||||||
|
eina_hash_free(sd->content_item_map);
|
||||||
|
|
||||||
efl_canvas_group_del(efl_super(obj, MY_CLASS));
|
efl_canvas_group_del(efl_super(obj, MY_CLASS));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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_stringshare_replace(&sd->decorate_it_type, NULL);
|
||||||
|
|
||||||
|
eina_hash_free(sd->content_item_map);
|
||||||
_elm_genlist_tree_effect_stop(sd);
|
_elm_genlist_tree_effect_stop(sd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue