diff options
| author | Bradley Lewis <22850972+BradLewis@users.noreply.github.com> | 2025-08-26 20:22:33 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-26 20:22:33 -0400 |
| commit | dd64d056218ee361e6dea0f0328e55ff62ba73ad (patch) | |
| tree | 883b076a7a1424a61e47d051d6899d47edabfad4 /src | |
| parent | 8244c527778d082fc3bc8a219bbaa23d3a8b11ea (diff) | |
| parent | 1946db6d83d39b59cf9f20a3bca4fe24d71084c9 (diff) | |
Merge pull request #938 from BradLewis/chore/free-field-docs-comments
Free field comments and docs
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/ast.odin | 4 |
1 files changed, 2 insertions, 2 deletions
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: |