From 1946db6d83d39b59cf9f20a3bca4fe24d71084c9 Mon Sep 17 00:00:00 2001 From: Brad Lewis <22850972+BradLewis@users.noreply.github.com> Date: Tue, 26 Aug 2025 20:14:30 -0400 Subject: Free field comments and docs --- src/server/ast.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server') diff --git a/src/server/ast.odin b/src/server/ast.odin index 57cd704..a07f69d 100644 --- a/src/server/ast.odin +++ b/src/server/ast.odin @@ -743,8 +743,8 @@ free_ast_node :: proc(node: ^ast.Node, allocator: mem.Allocator) { free_ast(n.names, allocator) free_ast(n.type, allocator) free_ast(n.default_value, allocator) - //free_ast(n.docs); - //free_ast(n.comment); + free_ast_comment(n.docs, allocator); + free_ast_comment(n.comment, allocator); case ^Field_List: free_ast(n.list, allocator) case ^Typeid_Type: -- cgit v1.2.3