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.
This commit is contained in:
Simon Ser 2022-06-07 18:16:48 +02:00
parent 0deef6fe44
commit 09498499f6

View File

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