summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/shader_query.cpp1
1 files changed, 1 insertions, 0 deletions
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;
}