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.
This commit is contained in:
Eric Anholt 2010-08-27 15:23:29 -07:00
parent ae6e112c69
commit d539c69044

View file

@ -175,6 +175,7 @@ void
_mesa_glsl_release_functions(void)
{
talloc_free(builtin_mem_ctx);
builtin_mem_ctx = NULL;
}
void