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

pull/69/head
Andri Yngvason 2020-09-20 13:36:18 +00:00
parent 630e2e67bc
commit 9a2f761a02
1 changed files with 0 additions and 2 deletions

View File

@ -253,8 +253,6 @@ void data_control_destroy(struct data_control* self)
self->primary_selection = NULL; self->primary_selection = NULL;
} }
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)