From 6bc393e740384134705d815ede95cb888ae2befe Mon Sep 17 00:00:00 2001 From: Cedric Bail Date: Mon, 28 Oct 2013 19:45:46 +0900 Subject: [PATCH] evas: fix leak of ellipsis object in Evas_Object_Text. --- src/lib/evas/canvas/evas_object_text.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/evas/canvas/evas_object_text.c b/src/lib/evas/canvas/evas_object_text.c index c479ddc..5dc38a8 100644 --- a/src/lib/evas/canvas/evas_object_text.c +++ b/src/lib/evas/canvas/evas_object_text.c @@ -222,13 +222,13 @@ _evas_object_text_items_clear(Evas_Object_Text *o) if ((o->last_computed.ellipsis_start) && (o->last_computed.ellipsis_start != o->items)) { - _evas_object_text_item_clean(o->last_computed.ellipsis_start); + _evas_object_text_item_del(o, o->last_computed.ellipsis_start); } o->last_computed.ellipsis_start = NULL; if ((o->last_computed.ellipsis_end) && (EINA_INLIST_GET(o->last_computed.ellipsis_end) != EINA_INLIST_GET(o->items)->last)) { - _evas_object_text_item_clean(o->last_computed.ellipsis_end); + _evas_object_text_item_del(o, o->last_computed.ellipsis_end); } o->last_computed.ellipsis_end = NULL; while (o->items) -- 2.7.4