mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
prevent NULL reference exception when scanning some directories
This commit is contained in:
parent
857b0da555
commit
6e7eeb1d8f
@ -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