summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 11c09d33a21..59aac731d24 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);
}