mirror of
https://github.com/libretro/RetroArch
synced 2024-07-05 09:48:42 +00:00
(WIIU) check for NULL in gfd_free
This commit is contained in:
parent
517a3f801f
commit
7cc34302f4
|
@ -320,8 +320,11 @@ typedef struct
|
|||
|
||||
void gfd_free(GFDFile* gfd)
|
||||
{
|
||||
MEM2_free(gfd->data);
|
||||
free(gfd);
|
||||
if(gfd)
|
||||
{
|
||||
MEM2_free(gfd->data);
|
||||
free(gfd);
|
||||
}
|
||||
}
|
||||
|
||||
static bool gfd_relocate_block(GFDBlock* block)
|
||||
|
|
Loading…
Reference in New Issue
Block a user