mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-03 10:13:11 +00:00
(shader_glsl.c) Fix memory leak
This commit is contained in:
parent
bea3f938d9
commit
9bb36cac38
@ -715,6 +715,8 @@ static void gl_glsl_deinit(void *data)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
gl_glsl_destroy_resources(glsl);
|
gl_glsl_destroy_resources(glsl);
|
||||||
|
|
||||||
|
free(glsl);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void *gl_glsl_init(void *data, const char *path)
|
static void *gl_glsl_init(void *data, const char *path)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user