null check

This commit is contained in:
Brad Parker 2019-02-28 16:56:41 -05:00
parent 16b30d9ae8
commit c606e8893c

View File

@ -380,7 +380,7 @@ database_info_handle_t *database_info_dir_init(const char *dir,
core_info_get_list(&core_info_list);
list = dir_list_new(dir, core_info_list->all_ext,
list = dir_list_new(dir, core_info_list ? core_info_list->all_ext : NULL,
false, show_hidden_files,
false, true);