glsl2: Clear out profile pointers in _mesa_glsl_release_functions
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 9 Sep 2010 00:13:00 +0000 (17:13 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 9 Sep 2010 00:16:49 +0000 (17:16 -0700)
commitf69a6647fbd5e7cf4406fcc877ff78b507344073
tree0e6dfa1269a80d8f6371004015f15f05791aa585
parentde1ffd2f62257c174325d877c327d56b1a9e6cbc
glsl2: Clear out profile pointers in _mesa_glsl_release_functions

Otherwise builtin_profiles contains dangling pointers the next time
_mesa_read_profile is called.  I suspect this may fix bugzilla #29847,
but I was never able to reproduce it.
src/glsl/builtin_function.cpp
src/glsl/builtins/tools/generate_builtins.py