mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
(glcore) Fix heap use after free
This commit is contained in:
parent
cb8b2db3ad
commit
76398f4151
@ -1541,10 +1541,10 @@ static void gl_core_free(void *data)
|
||||
|
||||
gl_core_context_bind_hw_render(gl, false);
|
||||
font_driver_free_osd();
|
||||
gl_core_destroy_resources(gl);
|
||||
if (gl->ctx_driver && gl->ctx_driver->destroy)
|
||||
gl->ctx_driver->destroy(gl->ctx_data);
|
||||
video_context_driver_free();
|
||||
gl_core_destroy_resources(gl);
|
||||
}
|
||||
|
||||
static bool gl_core_alive(void *data)
|
||||
|
Loading…
Reference in New Issue
Block a user