diff options
author | Brian <[email protected]> | 2007-01-04 14:38:45 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-01-04 14:38:45 -0700 |
commit | 6a92d98d1a04629c09fae59585d94203580434c4 (patch) | |
tree | 09202807e23d7540ee73ee543fd509da5fdf1799 | |
parent | 89dc48569a361f59ec8a610ec779b0ff3e7c7ac2 (diff) |
temporary disable some memory deallocations to work around a memory corruption bug
-rw-r--r-- | src/mesa/shader/slang/slang_compile_operation.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_compile_operation.c b/src/mesa/shader/slang/slang_compile_operation.c index 28d9fdff7b0..c16ec7f8079 100644 --- a/src/mesa/shader/slang/slang_compile_operation.c +++ b/src/mesa/shader/slang/slang_compile_operation.c @@ -60,8 +60,11 @@ 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); +#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; |