From 4f9d0247549b06ddb25b76bb425541190105cb48 Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Sun, 26 Jul 2026 19:20:30 -0700 Subject: functioning type system perhaps? --- ast.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ast.c') diff --git a/ast.c b/ast.c index 50470de..df3b7f6 100644 --- a/ast.c +++ b/ast.c @@ -119,6 +119,8 @@ static void expr_destroy(struct expr_node* node) { binary_destroy(&node->inner.binary); break; } + + if (node->resolved_type != NULL) free(node->resolved_type); } static void if_destroy(struct if_node* node) { -- cgit v1.2.3