ecore_wl2_dnd: initialize source to NULL when it destroy
authorYeongjong Lee <yj34.lee@samsung.com>
Thu, 15 Nov 2018 14:11:38 +0000 (09:11 -0500)
committerSangHyeon Jade Lee <sh10233.lee@samsung.com>
Tue, 20 Nov 2018 07:10:39 +0000 (16:10 +0900)
commitddf1f572094a869069ba69fdda2275b7ffa85235
tree0c5ce919a6573f6a8b57ee1322d0d18440cfb440
parentcf62dacde47bbda23d31b8cada160a01e44ba4b5
ecore_wl2_dnd: initialize source to NULL when it destroy

Summary:
This prevent double destruction of source. if _ecore_wl2_input_del is called
with destroyed source, it can make unexpected troubles.

Reviewers: Hermet, id213sin, devilhorns

Reviewed By: devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7265
src/lib/ecore_wl2/ecore_wl2_dnd.c