summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-07-16 17:06:47 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-07-16 17:07:02 +0900
commita475b189618f99388e4b37e0f8be823d87102f62 (patch)
tree9ed151c1f6e1b1ec6cbd33ba2114ee0780ea9f6f
parent5e58e58d60e4f991f2f9df6d98c4722e21b482ea (diff)
efl ui dnd - further fixes on drop list data key handling
the efl ui dnd code didn't reset the drop list key to null (deleting it) once it had freed the list of frop items. this also fixes another issue in T7113 which causes crashes on exit.
-rw-r--r--src/lib/elementary/efl_ui_dnd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_dnd.c b/src/lib/elementary/efl_ui_dnd.c
index f40b95a028..2560b82438 100644
--- a/src/lib/elementary/efl_ui_dnd.c
+++ b/src/lib/elementary/efl_ui_dnd.c
@@ -401,6 +401,7 @@ _drop_obj_del_cb(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj,
401 free(drop->pos); 401 free(drop->pos);
402 free(drop); 402 free(drop);
403 } 403 }
404 efl_key_data_set(obj, "__drop_list", NULL);
404} 405}
405 406
406EAPI Eina_Bool 407EAPI Eina_Bool