mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01: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
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue