diff options
author | Daniel Lockyer <thisisdaniellockyer@gmail.com> | 2016-04-29 18:08:28 +0100 |
---|---|---|
committer | Daniel Lockyer <thisisdaniellockyer@gmail.com> | 2016-04-29 18:08:28 +0100 |
commit | e077ebdc722204bf88072dad376fa1dbe9993c95 (patch) | |
tree | 391b7116ae1b347d54ba6c6045be486d6758edde | |
parent | sway/config.c: wordexp has a corresponding wordfree which was never used (diff) | |
download | sway-e077ebdc722204bf88072dad376fa1dbe9993c95.tar.gz sway-e077ebdc722204bf88072dad376fa1dbe9993c95.tar.zst sway-e077ebdc722204bf88072dad376fa1dbe9993c95.zip |
sway/config.c: res->input is a malloc'ed section which wasn't freed
-rw-r--r-- | sway/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c index f60decb5..cfd3fd93 100644 --- a/sway/config.c +++ b/sway/config.c | |||
@@ -534,6 +534,7 @@ bool read_config(FILE *file, struct sway_config *config) { | |||
534 | default:; | 534 | default:; |
535 | } | 535 | } |
536 | free(line); | 536 | free(line); |
537 | free(res->input); | ||
537 | free(res); | 538 | free(res); |
538 | } | 539 | } |
539 | 540 | ||