summaryrefslogtreecommitdiffstats
path: root/src/glsl/ast_expr.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2012-06-05 15:58:41 -0700
committerKenneth Graunke <[email protected]>2012-06-07 00:01:40 -0700
commit3603fdcebfa25e2217f1dbfb0a99261be3e84b02 (patch)
tree063093f7e9a71eebdd03d67953881e0d5c91bf2f /src/glsl/ast_expr.cpp
parent5f3f63b76d36b752d7d98c04ab044b5a961b5593 (diff)
glsl: Hook up loop_variable_state destructor to plug a memory leak.
While ~loop_state() is already freeing the loop_variable_state objects via ralloc_free(this->mem_ctx), the ~loop_variable_state() destructor was never getting called, so the hash table inside loop_variable_state was never getting destroyed. Fixes a memory leak in any shader with loops. NOTE: This is a candidate for stable release branches. Signed-off-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/ast_expr.cpp')
0 files changed, 0 insertions, 0 deletions