mirror of
https://github.com/swaywm/sway
synced 2024-09-21 20:51:37 +02:00
sway/config.c: res->input is a malloc'ed section which wasn't freed
This commit is contained in:
parent
cdf017ceea
commit
e077ebdc72
@ -534,6 +534,7 @@ bool read_config(FILE *file, struct sway_config *config) {
|
||||
default:;
|
||||
}
|
||||
free(line);
|
||||
free(res->input);
|
||||
free(res);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user