summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian@nostromo.localnet.net>2007-03-24 15:29:10 -0600
committerBrian <brian@nostromo.localnet.net>2007-03-24 15:29:10 -0600
commit49134e8e53d4ae114044ff90174a6777ffbecc60 (patch)
tree26b5188ed997065fe4ba022286b50f4ca2217981
parent0e71d08e8df7f59da74e78212fe8433ceb7c7315 (diff)
fix mistake in _slang_free_ir()
-rw-r--r--src/mesa/shader/slang/slang_ir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_ir.c b/src/mesa/shader/slang/slang_ir.c
index 11c09d33a2..59aac731d2 100644
--- a/src/mesa/shader/slang/slang_ir.c
+++ b/src/mesa/shader/slang/slang_ir.c
@@ -150,7 +150,7 @@ _slang_free_ir(slang_ir_node *n)
}
for (i = 0; i < 3; i++)
- _slang_free_ir_tree(n->Children[i]);
+ _slang_free_ir(n->Children[i]);
/* Do not free n->List since it's a child elsewhere */
free(n);
}