mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 18:50:29 +00:00
Prevent null pointer dereference
This commit is contained in:
parent
45688b2a9d
commit
053208676f
@ -537,7 +537,7 @@ config_file_t *config_file_new_from_string(const char *from_string)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (line)
|
||||
if (line && conf)
|
||||
{
|
||||
if (parse_line(conf, list, line))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user