From 78e6ecd95ea2b11dbbc2099c4a2970019f1b319a Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 14 Jul 2017 18:44:23 -0400 Subject: [PATCH] don't free x11 clipboard source immediately ref T5738 --- src/modules/xwayland/dnd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/xwayland/dnd.c b/src/modules/xwayland/dnd.c index 391b7b1cf..97e29b115 100644 --- a/src/modules/xwayland/dnd.c +++ b/src/modules/xwayland/dnd.c @@ -279,7 +279,6 @@ _xwl_selection_notify(void *d EINA_UNUSED, int t EINA_UNUSED, Ecore_X_Event_Sele e_comp_wl->selection.data_source = &source->data_source; source->data_source.resource = dsource->resource; source->data_source.send = _xwayland_send_send; - free(dsource); if (e_client_has_xwindow(e_client_focused_get())) e_comp_wl_data_device_keyboard_focus_set(); return ECORE_CALLBACK_RENEW;