From: Ilia Mirkin Date: Sat, 26 Sep 2015 17:37:02 +0000 (-0400) Subject: mesa: don't leak interface_name X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6dd059fefe2c8c8a5337a646ab8772ebad8f811b;p=mesa.git mesa: don't leak interface_name Found by Coverity Signed-off-by: Ilia Mirkin Reviewed-by: Timothy Arceri --- diff --git a/src/mesa/main/shader_query.cpp b/src/mesa/main/shader_query.cpp index 99d9e1088d0..e020dce288a 100644 --- a/src/mesa/main/shader_query.cpp +++ b/src/mesa/main/shader_query.cpp @@ -995,6 +995,7 @@ program_resource_top_level_array_stride(struct gl_shader_program *shProg, } } found_top_level_array_size: + free(interface_name); free(var_name); return array_stride; }