projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
553fe13
)
re-enable var scope destruct in slang_operation_destruct()
author
Brian
<brian@yutani.localnet.net>
Tue, 27 Feb 2007 01:08:09 +0000
(18:08 -0700)
committer
Brian
<brian@yutani.localnet.net>
Tue, 27 Feb 2007 01:08:09 +0000
(18:08 -0700)
src/mesa/shader/slang/slang_compile_operation.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_compile_operation.c
b/src/mesa/shader/slang/slang_compile_operation.c
index 288de2d4bffed260b214620c7822c82275f8f202..aa66be889581da3f5e695a0d54d28d168da746ba 100644
(file)
--- 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;