Dear all,

I found a bug in _item_flip_realize.
It replaces previous string list without free.
this patch fixed for it.

Thanks
Index: elementary/src/lib/elm_genlist.c
===================================================================
--- elementary/src/lib/elm_genlist.c    (리비전 69518)
+++ elementary/src/lib/elm_genlist.c    (작업 사본)
@@ -1935,9 +1935,9 @@ _item_flips_realize(Elm_Gen_Item *it,
         const Eina_List *l;
         const char *key;
         Evas_Object *ic = NULL;
+        Eina_List *cons = NULL;
+        cons = elm_widget_stringlist_get(edje_object_data_get(target, 
"flips"));
 
-        *source = elm_widget_stringlist_get(edje_object_data_get(target, 
"flips"));
-
         EINA_LIST_FOREACH(*source, l, key)
           {
              if (it->itc->func.content_get)
@@ -1953,6 +1953,8 @@ _item_flips_realize(Elm_Gen_Item *it,
                     elm_widget_disabled_set(ic, EINA_TRUE);
                }
           }
+        *source = eina_list_merge(*source, cons);
+        elm_widget_stringlist_free(cons);
      }
 
    return res;
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to