mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2025-02-05 20:45:49 +01:00
sway/config.c: res->input is a malloc'ed section which wasn't freed
This commit is contained in:
parent
cdf017ceea
commit
e077ebdc72
1 changed files with 1 additions and 0 deletions
|
@ -534,6 +534,7 @@ bool read_config(FILE *file, struct sway_config *config) {
|
||||||
default:;
|
default:;
|
||||||
}
|
}
|
||||||
free(line);
|
free(line);
|
||||||
|
free(res->input);
|
||||||
free(res);
|
free(res);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue