data-control: Don't free data-control-manager twice
parent
8f166f4029
commit
cc926b7579
|
@ -249,8 +249,6 @@ void data_control_destroy(struct data_control* self)
|
||||||
zwlr_data_control_source_v1_destroy(self->data_control_source);
|
zwlr_data_control_source_v1_destroy(self->data_control_source);
|
||||||
free(self->mime_type);
|
free(self->mime_type);
|
||||||
free(self->cb_data);
|
free(self->cb_data);
|
||||||
|
|
||||||
zwlr_data_control_manager_v1_destroy(self->manager);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void data_control_to_clipboard(struct data_control* self, const char* text, size_t len)
|
void data_control_to_clipboard(struct data_control* self, const char* text, size_t len)
|
||||||
|
|
Loading…
Reference in New Issue