data-control: Destroy data device on exit
parent
5c30d7752c
commit
30295bb715
|
@ -267,6 +267,7 @@ void data_control_destroy(struct data_control* self)
|
||||||
zwlr_data_control_source_v1_destroy(self->primary_selection);
|
zwlr_data_control_source_v1_destroy(self->primary_selection);
|
||||||
self->primary_selection = NULL;
|
self->primary_selection = NULL;
|
||||||
}
|
}
|
||||||
|
zwlr_data_control_device_v1_destroy(self->device);
|
||||||
free(self->cb_data);
|
free(self->cb_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue