diff options
author | emersion <contact@emersion.fr> | 2018-12-12 11:30:34 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-12-30 02:48:04 +0100 |
commit | 340281b48aad852d78148adb58dffd76dfcefe4f (patch) | |
tree | 48be03876eb59c1e65c5e077cf0c87a85071b3da | |
parent | a28167c255b25bdcca2f7c85dd78528265652679 (diff) |
data-control-v1: fix data source not properly destroyed
-rw-r--r-- | types/wlr_data_control_v1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/types/wlr_data_control_v1.c b/types/wlr_data_control_v1.c index 8d8247de..be8bfbe8 100644 --- a/types/wlr_data_control_v1.c +++ b/types/wlr_data_control_v1.c @@ -36,6 +36,7 @@ static void client_source_cancel(struct wlr_data_source *wlr_source) { struct client_data_source *source = client_data_source_from_source(wlr_source); zwlr_data_control_source_v1_send_cancelled(source->resource); + wlr_data_source_finish(wlr_source); // Make the resource inert wl_resource_set_user_data(source->resource, NULL); free(source); |