Skip to content

Commit

Permalink
Fix: free_ast now handles AST_BREAK again
Browse files Browse the repository at this point in the history
  • Loading branch information
KennyOliver committed Jan 8, 2025
1 parent 0da1a5d commit c3c791c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parser/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ void free_ast(ASTNode *node) {
case AST_CATCH:
case AST_FINALLY:
case AST_VARIABLE_REFERENCE:
case AST_BREAK:
// No dynamic memory to free
break;

Expand Down

0 comments on commit c3c791c

Please sign in to comment.