glsl2: Free the shader compiler at dri screen destruction.
authorEric Anholt <eric@anholt.net>
Wed, 18 Aug 2010 23:56:39 +0000 (16:56 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 19 Aug 2010 00:10:48 +0000 (17:10 -0700)
commitb83846475bac76268d75f53632faf8aad8cad02c
treec667c59b52eb4d3086432f1fc895694ab9b2007e
parent3cd233eb5714137dccb6218ad78005511bcc02bd
glsl2: Free the shader compiler at dri screen destruction.

Hooray, we can valgrind again without adding suppressions.  This also
adds an interface for use by an implementation of
glReleaseShaderCompiler().
src/glsl/glsl_parser_extras.cpp
src/glsl/glsl_parser_extras.h
src/mesa/drivers/dri/common/dri_util.c