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.
This commit is contained in:
Carsten Haitzler 2018-07-16 17:06:47 +09:00
parent 5e58e58d60
commit a475b18961
1 changed files with 1 additions and 0 deletions

View File

@ -401,6 +401,7 @@ _drop_obj_del_cb(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj,
free(drop->pos);
free(drop);
}
efl_key_data_set(obj, "__drop_list", NULL);
}
EAPI Eina_Bool