data-control: Destroy data device on exit

pull/69/head
Andri Yngvason 2020-09-22 20:01:11 +00:00
parent 5c30d7752c
commit 30295bb715
1 changed files with 1 additions and 0 deletions

View File

@ -267,6 +267,7 @@ void data_control_destroy(struct data_control* self)
zwlr_data_control_source_v1_destroy(self->primary_selection);
self->primary_selection = NULL;
}
zwlr_data_control_device_v1_destroy(self->device);
free(self->cb_data);
}