cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=2508c1a3aeb42c04c0e3d5626ee3a95694d70dcf

commit 2508c1a3aeb42c04c0e3d5626ee3a95694d70dcf
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Fri May 4 14:36:14 2018 -0700

    elementary: colorselector item are created with efl_add, so they are dead 
when they reach the destructor.
    
    Differential Revision: https://phab.enlightenment.org/D6103
---
 src/lib/elementary/elm_colorselector.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/lib/elementary/elm_colorselector.c 
b/src/lib/elementary/elm_colorselector.c
index 2a0c9f11ff..9545295a05 100644
--- a/src/lib/elementary/elm_colorselector.c
+++ b/src/lib/elementary/elm_colorselector.c
@@ -2005,7 +2005,11 @@ _elm_colorselector_efl_canvas_group_group_del(Eo *obj, 
Elm_Colorselector_Data *s
    ecore_event_handler_del(sd->grab.key_up);
 #endif
 
-   _items_del(sd);
+   // We created the items with efl_add, they will be dead after this.
+   sd->items = eina_list_free(sd->items);
+   sd->selected = NULL;
+   sd->focus_items = NULL;
+
    /* This cb_data are used during the destruction process of base.del */
    for (i = 0; i < 4; i++)
      tmp[i] = sd->cb_data[i];

-- 


Reply via email to