diff options
author | Brian <[email protected]> | 2007-02-26 18:08:09 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-02-26 18:08:09 -0700 |
commit | 4f26a52908d14b753199a529fd4c24da608ead29 (patch) | |
tree | bc2991d3641ca0f48a2f23659d7096109d6cd5bf /src | |
parent | 553fe132d4dec3283afd59f81357ebb3c2b94c06 (diff) |
re-enable var scope destruct in slang_operation_destruct()
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/shader/slang/slang_compile_operation.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/shader/slang/slang_compile_operation.c b/src/mesa/shader/slang/slang_compile_operation.c index 288de2d4bff..aa66be88958 100644 --- a/src/mesa/shader/slang/slang_compile_operation.c +++ b/src/mesa/shader/slang/slang_compile_operation.c @@ -60,12 +60,8 @@ slang_operation_destruct(slang_operation * oper) for (i = 0; i < oper->num_children; i++) slang_operation_destruct(oper->children + i); slang_alloc_free(oper->children); - /*#define FREE_MEMORY*/ -#ifdef FREE_MEMORY - /* XXX revisit and fix memory coruption here ! */ slang_variable_scope_destruct(oper->locals); slang_alloc_free(oper->locals); -#endif oper->children = NULL; oper->num_children = 0; oper->locals = NULL; |