projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae6e112
)
glsl: Protect against double compiler-destroy.
author
Eric Anholt
<eric@anholt.net>
Fri, 27 Aug 2010 22:23:29 +0000
(15:23 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 27 Aug 2010 22:25:06 +0000
(15:25 -0700)
DRI was doing teardown when we close the last screen, then an atexit()
was added to call it as well.
src/glsl/builtins/tools/generate_builtins.py
patch
|
blob
|
history
diff --git
a/src/glsl/builtins/tools/generate_builtins.py
b/src/glsl/builtins/tools/generate_builtins.py
index b9f0ba1ad2285c68b83e71f0557c9e399e46e32b..ab5b3777cb7ae129e9619f705de87665ef2af522 100755
(executable)
--- a/
src/glsl/builtins/tools/generate_builtins.py
+++ b/
src/glsl/builtins/tools/generate_builtins.py
@@
-175,6
+175,7
@@
void
_mesa_glsl_release_functions(void)
{
talloc_free(builtin_mem_ctx);
+ builtin_mem_ctx = NULL;
}
void