From 5252d3216a6b6569fc92cad19bffb0beccbea783 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 8 Nov 2017 15:49:02 +0100 Subject: [PATCH] Fix heap use after free error --- gfx/drivers/gl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gfx/drivers/gl.c b/gfx/drivers/gl.c index 8b958c69f6..cc7c6978d2 100644 --- a/gfx/drivers/gl.c +++ b/gfx/drivers/gl.c @@ -1434,7 +1434,6 @@ static void gl_destroy_resources(gl_t *gl) } gl_shared_context_use = false; - gl->core_context_in_use = false; gl_query_core_context_unset(); }