diff --git a/src/ast/ast.c b/src/ast/ast.c index ca2442c..ef7ce47 100644 --- a/src/ast/ast.c +++ b/src/ast/ast.c @@ -182,6 +182,7 @@ void AST_delete_node(struct AST_Node_t *node) { AST_delete_node(node->children[i]); } + free(node->children); free(node); }