mirror of
https://github.com/libretro/RetroArch
synced 2025-03-09 13:13:31 +00:00
Merge pull request #10889 from Jamiras/scan_content_null
prevent NULL reference exception when scanning some directories
This commit is contained in:
commit
b736100443
@ -1255,6 +1255,8 @@ static void task_database_handler(retro_task_t *task)
|
||||
{
|
||||
const char *name = database_info_get_current_element_name(
|
||||
dbinfo);
|
||||
if (name == NULL)
|
||||
goto task_finished;
|
||||
|
||||
if (dbinfo->type == DATABASE_TYPE_ITERATE)
|
||||
if (path_contains_compressed_file(name))
|
||||
|
Loading…
x
Reference in New Issue
Block a user