From: Bora Hwang Date: Fri, 3 May 2013 05:05:03 +0000 (+0900) Subject: [ctxpopup] fixed P130430-0614: memory leak occurs when app closes X-Git-Tag: accepted/tizen/20130927.071315^2~371 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0557b035eb1374532a11204f2736aca3ffafbc41;p=profile%2Fmobile%2Felementary.git [ctxpopup] fixed P130430-0614: memory leak occurs when app closes Change-Id: I943c92eead6349b7a71ce53971592d112ef9b2a8 --- 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; }