summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-03-26 09:24:30 -0600
committerBrian <brian@yutani.localnet.net>2007-03-26 09:24:30 -0600
commite71c34aaa173ca451fa02e526ead77758f7eeb74 (patch)
treeda9cada7b1942c5e042db10e5cf7dd6976fad0b4
parentb9fbedd6012ac20fc14fda2cd18bdd86463d0527 (diff)
disable free() until other issues can be fixed...glsl-compiler-1
-rw-r--r--src/mesa/shader/slang/slang_ir.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_ir.c b/src/mesa/shader/slang/slang_ir.c
index 59aac731d2..14a7b694bd 100644
--- a/src/mesa/shader/slang/slang_ir.c
+++ b/src/mesa/shader/slang/slang_ir.c
@@ -144,7 +144,9 @@ _slang_free_ir(slang_ir_node *n)
if (n->Store) {
n->Store->RefCount--;
if (n->Store->RefCount == 0) {
+#if 0
free(n->Store);
+#endif
n->Store = NULL;
}
}