Set test to NULL when appropriate

Thanks @SyedAmerGilani
This commit is contained in:
Drew DeVault 2015-08-19 08:24:39 -04:00
parent 1ec8e082a2
commit 0f29f04816

View File

@ -124,6 +124,7 @@ static char *get_config_path() {
return test;
}
free(test);
test = NULL;
}
free_flat_list(paths);
}