data-control: Don't free data-control-manager twice

clipboard
Andri Yngvason 2020-09-20 13:36:18 +00:00
parent 8f166f4029
commit cc926b7579
1 changed files with 0 additions and 2 deletions

View File

@ -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)