glsl: Use reralloc instead of plain realloc.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 27 Feb 2011 09:17:29 +0000 (01:17 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 28 Feb 2011 18:35:40 +0000 (10:35 -0800)
commiteb639349e289a6b8be06a54f5e9e0ce18c71d511
tree4dba5f0f10c7c077b372b33aa82b5baacd1837b2
parentc33e091d17b90df61f7b3873a2f124c4f26adf06
glsl: Use reralloc instead of plain realloc.

Plugs a memory leak when compiling shaders with user defined structures.

NOTE: This is a candidate for the 7.9 and 7.10 branches.
src/glsl/ast_to_hir.cpp