mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-18 00:18:22 +00:00
Free menu->frame_buf in menu_free
This commit is contained in:
parent
cf57120fdd
commit
3d83c1fa75
@ -511,9 +511,6 @@ static void rgui_free(void *data)
|
||||
if (!menu)
|
||||
return;
|
||||
|
||||
if (menu->frame_buf)
|
||||
free(menu->frame_buf);
|
||||
|
||||
if (menu->userdata)
|
||||
free(menu->userdata);
|
||||
driver.menu->userdata = NULL;
|
||||
|
@ -257,6 +257,10 @@ void menu_free(void *data)
|
||||
menu_animation_free(menu->animation);
|
||||
menu->animation = NULL;
|
||||
|
||||
if (menu->frame_buf)
|
||||
free(menu->frame_buf);
|
||||
menu->frame_buf = NULL;
|
||||
|
||||
menu_list_free(menu->menu_list);
|
||||
menu->menu_list = NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user