mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-27 23:25:49 +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…
x
Reference in New Issue
Block a user