output: fix make/model/serial memory leak

These have been turned into `char *` in be86145322 ("output: turn
make/model/serial into char *"), but forgot to add the cleanup
logic.
Simon Ser 3 years ago
parent 0deef6fe44
commit 09498499f6

@ -481,6 +481,9 @@ void wlr_output_destroy(struct wlr_output *output) {
free(output->name);
free(output->description);
free(output->make);
free(output->model);
free(output->serial);
output_state_finish(&output->pending);

Loading…
Cancel
Save