mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-22 07:02:28 +00:00
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:
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…
Reference in New Issue
Block a user