mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 07:20:36 +00:00
Free overlay_ptr
This commit is contained in:
parent
160ac49089
commit
5656959085
@ -177,6 +177,10 @@ void input_overlay_free_overlay(struct overlay *overlay)
|
||||
free(overlay->descs);
|
||||
overlay->descs = NULL;
|
||||
image_texture_free(&overlay->image);
|
||||
|
||||
if (overlay_ptr)
|
||||
free(overlay_ptr);
|
||||
overlay_ptr = NULL;
|
||||
}
|
||||
|
||||
static void input_overlay_free_overlays(input_overlay_t *ol)
|
||||
|
Loading…
x
Reference in New Issue
Block a user