glcpp: Fix use-after-free error from #undef directive.
authorCarl Worth <cworth@cworth.org>
Tue, 20 Jul 2010 01:02:12 +0000 (18:02 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 21 Jul 2010 00:01:11 +0000 (17:01 -0700)
commit61ebc01dfecda0963a184e881ea966e2d92f0519
tree2202cfe0f99a92495d1b790b2af3af21152e6688
parentd4f239de6e988a59d4ba3783ea325aa1552c3f5a
glcpp: Fix use-after-free error from #undef directive.

By taking advantage of the recently-added hash_table_remove function.

With this change, all existing tests are now valgrind-clean.
src/glsl/glcpp/glcpp-parse.y