mirror of
https://github.com/libretro/RetroArch
synced 2025-02-10 21:40:22 +00:00
menu_list_destroy - check if 'list' is non-NULL before calling file_list_free
This commit is contained in:
parent
e0a364786c
commit
3ee3e5a1a5
@ -35,6 +35,7 @@ void menu_list_destroy(file_list_t *list)
|
|||||||
}
|
}
|
||||||
|
|
||||||
end:
|
end:
|
||||||
|
if (list)
|
||||||
file_list_free(list);
|
file_list_free(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user