ecore_wayland: free mime types after finish set_selection 97/127597/1
authorMinchul Lee <slotus.lee@samsung.com>
Thu, 27 Apr 2017 05:39:31 +0000 (14:39 +0900)
committerMinchul Lee <slotus.lee@samsung.com>
Fri, 28 Apr 2017 05:10:38 +0000 (14:10 +0900)
commit51cdd3e7812970cb92e65553905a8ffc1118789d
tree4cd5537dd7fd7248cb8ed129b287049eda543672
parent67d0bb47886274544af301bb4221cf8fdc2167ef
ecore_wayland: free mime types after finish set_selection

When copy operation, device tried to access the mime types
which is already freed. Thus, crash happend. To deliver
them to DATA READY handler, duplicate them and free later.

Change-Id: I9b40a9070d9cc03fb2c3df57586b062d6db8afe6
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
src/lib/ecore_wayland/ecore_wl_dnd.c