mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
config: free include path on successful load
This commit is contained in:
parent
ba8981e44b
commit
92450883d7
1 changed files with 1 additions and 0 deletions
|
@ -474,6 +474,7 @@ static bool load_include_config(const char *path, const char *parent_dir,
|
||||||
list_del(config->config_chain, index);
|
list_del(config->config_chain, index);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
free(real_path);
|
||||||
|
|
||||||
// restore current_config_path
|
// restore current_config_path
|
||||||
config->current_config_path = parent_config;
|
config->current_config_path = parent_config;
|
||||||
|
|
Loading…
Reference in a new issue