diff options
| author | Simon Ser <contact@emersion.fr> | 2022-06-07 18:16:48 +0200 | 
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2022-06-07 18:16:48 +0200 | 
| commit | 09498499f6e830e70883ef158de16523d4b08c6f (patch) | |
| tree | 504fec600295cade4384ab4f7103853c1dfe23a1 | |
| parent | 0deef6fe44a939a47a170fa8eae55c9ea08520d9 (diff) | |
| download | wlroots-09498499f6e830e70883ef158de16523d4b08c6f.tar.xz | |
output: fix make/model/serial memory leak
These have been turned into `char *` in be86145322e6 ("output: turn
make/model/serial into char *"), but forgot to add the cleanup
logic.
| -rw-r--r-- | types/output/output.c | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/types/output/output.c b/types/output/output.c index a4cb6f74..22b3e79e 100644 --- a/types/output/output.c +++ b/types/output/output.c @@ -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);  | 
