summaryrefslogtreecommitdiffstats
path: root/sway/config.c
diff options
context:
space:
mode:
authorLibravatar Daniel Lockyer <thisisdaniellockyer@gmail.com>2016-04-29 18:09:56 +0100
committerLibravatar Daniel Lockyer <thisisdaniellockyer@gmail.com>2016-04-29 18:09:56 +0100
commitb8722ecd5f43c2c6f132809595109e9cb5fbfec6 (patch)
tree2116dbeefc12ad87ebf0d87c4a36c75ebfb430f8 /sway/config.c
parentsway/config.c: res->input is a malloc'ed section which wasn't freed (diff)
downloadsway-b8722ecd5f43c2c6f132809595109e9cb5fbfec6.tar.gz
sway-b8722ecd5f43c2c6f132809595109e9cb5fbfec6.tar.zst
sway-b8722ecd5f43c2c6f132809595109e9cb5fbfec6.zip
sway/config.c: Leading on from cdf017c, we need to free path
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c2
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