projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
431a065
)
glsl: free interface_types
author
Timothy Arceri
<t_arceri@yahoo.com.au>
Mon, 13 Jul 2015 21:41:26 +0000
(07:41 +1000)
committer
Timothy Arceri
<t_arceri@yahoo.com.au>
Mon, 13 Jul 2015 21:48:34 +0000
(07:48 +1000)
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/glsl/glsl_types.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/glsl_types.cpp
b/src/glsl/glsl_types.cpp
index 4b344f1eb4a59a21cd44239cc9fd77204c81a2ec..aaf7c7c48d6e37b9c7bb2c7afede4ae32da8db86 100644
(file)
--- 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;
+ }
}