elm_cnp.c: fixed use after free spotted by coverity CID 1039969.

This commit is contained in:
Daniel Juyung Seo 2013-07-05 17:35:29 +09:00
parent 437b5981a3
commit 74682ebb4e
1 changed files with 1 additions and 1 deletions

View File

@ -3837,8 +3837,8 @@ elm_drag_item_container_del_internal(Evas_Object *obj, Eina_Bool full)
evas_object_event_callback_del_full
(obj, EVAS_CALLBACK_MOUSE_DOWN, _cont_obj_mouse_down, st);
free(st);
cont_drag_tg = eina_list_remove(cont_drag_tg, st);
free(st);
}
return EINA_TRUE;