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 a new issue