xwayland: fix clipboard related crash

dev
Greg V 6 years ago committed by Daniel Stone
parent b68847a8bc
commit 4253f23576
  1. 1
      xwayland/selection.c

@ -408,6 +408,7 @@ weston_wm_read_data_source(int fd, uint32_t mask, void *data)
wm->property_source = NULL; wm->property_source = NULL;
close(fd); close(fd);
wl_array_release(&wm->source_data); wl_array_release(&wm->source_data);
return 1;
} }
weston_log("read %d (available %d, mask 0x%x) bytes: \"%.*s\"\n", weston_log("read %d (available %d, mask 0x%x) bytes: \"%.*s\"\n",

Loading…
Cancel
Save