diff options
author | Eric Anholt <[email protected]> | 2010-08-27 15:23:29 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-08-27 15:25:06 -0700 |
commit | d539c69044c735618bf85485df7733e9f0491d18 (patch) | |
tree | 4564ab989329e0c0650429df3979c542a6fab966 /src/glsl/builtins/tools | |
parent | ae6e112c69cf42fb81ef4ed5bdeb3b280647f141 (diff) |
glsl: Protect against double compiler-destroy.
DRI was doing teardown when we close the last screen, then an atexit()
was added to call it as well.
Diffstat (limited to 'src/glsl/builtins/tools')
-rwxr-xr-x | src/glsl/builtins/tools/generate_builtins.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/builtins/tools/generate_builtins.py b/src/glsl/builtins/tools/generate_builtins.py index b9f0ba1ad22..ab5b3777cb7 100755 --- 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 |