forked from enlightenment/efl
evas textblock: fix memory leak
Summary: Fix memory leak Delimiter string is being saved using eina_stringshare_replace without any del or free when object is deleted. @fix Test Plan: N/A Reviewers: tasn, herdsman Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D3175 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
e2167fe2a0
commit
69c2b13474
|
@ -11533,6 +11533,7 @@ evas_object_textblock_free(Evas_Object *eo_obj)
|
|||
}
|
||||
if (o->repch) eina_stringshare_del(o->repch);
|
||||
if (o->ellip_ti) _item_free(eo_obj, NULL, _ITEM(o->ellip_ti));
|
||||
if (o->bidi_delimiters) eina_stringshare_del(o->bidi_delimiters);
|
||||
_format_command_shutdown();
|
||||
|
||||
/* remove obstacles */
|
||||
|
|
Loading…
Reference in New Issue