summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2015-07-14 07:41:26 +1000
committerTimothy Arceri <[email protected]>2015-07-14 07:48:34 +1000
commit75df8f00192415eb4ad378708ff3745390931b4e (patch)
tree708af806f8797ac6ebc4df1e095c3159e7714bdc /src
parent431a0658616575953868f6d16bb9641306cceea8 (diff)
glsl: free interface_types
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/glsl/glsl_types.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glsl/glsl_types.cpp b/src/glsl/glsl_types.cpp
index 4b344f1eb4a..aaf7c7c48d6 100644
--- a/src/glsl/glsl_types.cpp
+++ b/src/glsl/glsl_types.cpp
@@ -337,6 +337,11 @@ _mesa_glsl_release_types(void)
_mesa_hash_table_destroy(glsl_type::record_types, NULL);
glsl_type::record_types = NULL;
}
+
+ if (glsl_type::interface_types != NULL) {
+ _mesa_hash_table_destroy(glsl_type::interface_types, NULL);
+ glsl_type::interface_types = NULL;
+ }
}