Be more careful with dangling pointer

This commit is contained in:
twinaphex 2019-04-28 10:17:03 +02:00
parent 8784d21c74
commit 3b24565b66

View File

@ -221,6 +221,7 @@ static config_file_t *core_info_list_iterate(
path_basedir,
info_path_base, info_path_base_size);
free(info_path_base);
info_path_base = NULL;
if (path_is_valid(info_path))
conf = config_file_read(info_path);