bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=80ffed5d85638279340862ccff91c86f49b986af
commit 80ffed5d85638279340862ccff91c86f49b986af Author: Ali Alzyod <[email protected]> Date: Tue Apr 9 15:17:13 2019 +0000 Freeing Global Memory list on destructor Issue with global list item, used to same styles. (in destructor we do not remove styles from it, which will cause memory leak) Reviewed-by: Marcel Hollerbach <[email protected]> Differential Revision: https://phab.enlightenment.org/D8578 --- src/lib/evas/canvas/evas_object_textblock.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c index 63eddd46a3..da73c03eb7 100644 --- a/src/lib/evas/canvas/evas_object_textblock.c +++ b/src/lib/evas/canvas/evas_object_textblock.c @@ -13571,6 +13571,7 @@ evas_object_textblock_free(Evas_Object *eo_obj) ts->objects = eina_list_remove(ts->objects, eo_obj); if (!ts->objects && (ts->delete_me || o->auto_styles)) { + _style_cache = eina_list_remove(_style_cache, ts); evas_textblock_style_free(ts); } free(use); --
