Found by Coverity
Signed-off-by: Ilia Mirkin <[email protected]>
---
src/mesa/main/shader_query.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mesa/main/shader_query.cpp b/src/mesa/main/shader_query.cpp
index 99d9e10..e020dce 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;
}
--
2.4.9
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev