mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
rgui: Fix potential memory leak
This commit is contained in:
parent
114eca338f
commit
4bd2c6b786
@ -417,6 +417,7 @@ static void *rgui_init(void)
|
||||
|
||||
if (!menu->frame_buf)
|
||||
{
|
||||
free(menu->userdata);
|
||||
free(menu);
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user