summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-03-26 09:24:30 -0600
committerBrian <[email protected]>2007-03-26 09:24:30 -0600
commite71c34aaa173ca451fa02e526ead77758f7eeb74 (patch)
treeda9cada7b1942c5e042db10e5cf7dd6976fad0b4 /src/mesa/shader/slang
parentb9fbedd6012ac20fc14fda2cd18bdd86463d0527 (diff)
disable free() until other issues can be fixed...
Diffstat (limited to 'src/mesa/shader/slang')
-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 59aac731d24..14a7b694bd0 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;
}
}