diff options
author | emersion <[email protected]> | 2018-07-15 22:09:04 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2018-07-15 22:09:04 +0100 |
commit | b314a8f2cc792aa59d8f12e5adb9aed2967af646 (patch) | |
tree | 74468af2643af7ad9315fb983acad8b8f69f8c4b /sway/config.c | |
parent | 87334dbccb2c00ab72e96d4b58cf128dfbf8f751 (diff) | |
parent | 9559e3e2afeabc5fd68ee0679ad9b5745c92425b (diff) |
Merge pull request #2280 from ianyfan/leaks
Fix some memory leaks
Diffstat (limited to 'sway/config.c')
-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 2c051146..f63835bf 100644 --- a/sway/config.c +++ b/sway/config.c @@ -474,6 +474,7 @@ static bool load_include_config(const char *path, const char *parent_dir, list_del(config->config_chain, index); return false; } + free(real_path); // restore current_config_path config->current_config_path = parent_config; |