mirror of
https://github.com/swaywm/sway
synced 2024-11-18 14:53:52 +01:00
Set test to NULL when appropriate
Thanks @SyedAmerGilani
This commit is contained in:
parent
1ec8e082a2
commit
0f29f04816
@ -124,6 +124,7 @@ static char *get_config_path() {
|
||||
return test;
|
||||
}
|
||||
free(test);
|
||||
test = NULL;
|
||||
}
|
||||
free_flat_list(paths);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user