[ctxpopup] fixed P130430-0614: memory leak occurs when app closes
authorBora Hwang <bora1.hwang@samsung.com>
Fri, 3 May 2013 05:05:03 +0000 (14:05 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 04:48:23 +0000 (13:48 +0900)
Change-Id: I943c92eead6349b7a71ce53971592d112ef9b2a8

src/lib/elc_ctxpopup.c

index 89ea8c2..2686c72 100644 (file)
@@ -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;
 }