diff options
-rw-r--r-- | src/vrend_renderer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c index 5e03433..0525acd 100644 --- a/src/vrend_renderer.c +++ b/src/vrend_renderer.c @@ -3830,6 +3830,7 @@ int vrend_renderer_resource_create(struct vrend_renderer_resource_create_args *a gltype = tex_conv_table[args->format].gltype; if (internalformat == 0) { fprintf(stderr,"unknown format is %d\n", args->format); + FREE(gr); return EINVAL; } |