diff options
author | Daniel Lockyer <thisisdaniellockyer@gmail.com> | 2016-04-29 18:09:56 +0100 |
---|---|---|
committer | Daniel Lockyer <thisisdaniellockyer@gmail.com> | 2016-04-29 18:09:56 +0100 |
commit | b8722ecd5f43c2c6f132809595109e9cb5fbfec6 (patch) | |
tree | 2116dbeefc12ad87ebf0d87c4a36c75ebfb430f8 | |
parent | sway/config.c: res->input is a malloc'ed section which wasn't freed (diff) | |
download | sway-b8722ecd5f43c2c6f132809595109e9cb5fbfec6.tar.gz sway-b8722ecd5f43c2c6f132809595109e9cb5fbfec6.tar.zst sway-b8722ecd5f43c2c6f132809595109e9cb5fbfec6.zip |
sway/config.c: Leading on from cdf017c, we need to free path
-rw-r--r-- | sway/config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c index cfd3fd93..41879b87 100644 --- a/sway/config.c +++ b/sway/config.c | |||
@@ -357,6 +357,8 @@ bool load_main_config(const char *file, bool is_active) { | |||
357 | update_active_bar_modifiers(); | 357 | update_active_bar_modifiers(); |
358 | } | 358 | } |
359 | 359 | ||
360 | free(path); | ||
361 | |||
360 | return success; | 362 | return success; |
361 | } | 363 | } |
362 | 364 | ||