mirror of
https://github.com/swaywm/sway.git
synced 2026-02-04 04:06:18 -05:00
swaynag/main: free config_path
Otherwise config_path is never free'd
This commit is contained in:
parent
d735bb99a9
commit
b54d1205d8
1 changed files with 1 additions and 0 deletions
|
|
@ -45,6 +45,7 @@ int main(int argc, char **argv) {
|
|||
if (config_path) {
|
||||
sway_log(SWAY_DEBUG, "Loading config file: %s", config_path);
|
||||
status = swaynag_load_config(config_path, &swaynag, types);
|
||||
free(config_path);
|
||||
if (status != 0) {
|
||||
goto cleanup;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue