discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=160d6b91a0c0039a8c0e23fdc1664d74a3529e1d

commit 160d6b91a0c0039a8c0e23fdc1664d74a3529e1d
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Oct 18 16:10:48 2017 -0400

    null wl clipboard+selection source pointers when destroying clipboard source
    
    fix T6242
---
 src/bin/e_comp_wl_data.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/bin/e_comp_wl_data.c b/src/bin/e_comp_wl_data.c
index 09bf4e553..3f3972149 100644
--- a/src/bin/e_comp_wl_data.c
+++ b/src/bin/e_comp_wl_data.c
@@ -1283,6 +1283,10 @@ 
e_comp_wl_clipboard_source_unref(E_Comp_Wl_Clipboard_Source *source)
      }
 
    _mime_types_free(&source->data_source);
+   if (source == e_comp_wl->clipboard.source)
+     e_comp_wl->clipboard.source = NULL;
+   if (&source->data_source == e_comp_wl->selection.data_source)
+     e_comp_wl->selection.data_source = NULL;
 
    wl_signal_emit(&source->data_source.destroy_signal, &source->data_source);
    wl_array_release(&source->contents);

-- 


Reply via email to