From 0557b035eb1374532a11204f2736aca3ffafbc41 Mon Sep 17 00:00:00 2001 From: Bora Hwang Date: Fri, 3 May 2013 14:05:03 +0900 Subject: [PATCH] [ctxpopup] fixed P130430-0614: memory leak occurs when app closes Change-Id: I943c92eead6349b7a71ce53971592d112ef9b2a8 --- src/lib/elc_ctxpopup.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/elc_ctxpopup.c b/src/lib/elc_ctxpopup.c index 89ea8c2..2686c72 100644 --- a/src/lib/elc_ctxpopup.c +++ b/src/lib/elc_ctxpopup.c @@ -385,9 +385,7 @@ _items_remove(Elm_Ctxpopup_Smart_Data *sd) if (!sd->items) return; EINA_LIST_FOREACH(sd->items, elist, item) - { - _item_del_pre_hook((Elm_Object_Item *)item); - } + elm_widget_item_del(item); sd->items = NULL; } -- 2.7.4