mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 22:20:31 +00:00
Fix possible memory leak
This commit is contained in:
parent
6dbca366c0
commit
cd6d6f6483
1
gl.c
1
gl.c
@ -236,6 +236,7 @@ static bool gl_frame(void *data, const uint16_t* frame, int width, int height)
|
||||
|
||||
static void gl_free(void *data)
|
||||
{
|
||||
glDeleteTextures(1, &texture);
|
||||
glfwTerminate();
|
||||
free(gl_buffer);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user