Skip to content

Commit

Permalink
Use ext_vec_free
Browse files Browse the repository at this point in the history
  • Loading branch information
bamless committed May 12, 2024
1 parent 02089b0 commit a75f224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ static void endCompiler(Compiler* c) {
ext_vec_foreach(char** it, c->synthetic_names) {
free(*it);
}
free(c->synthetic_names);
ext_vec_free(c->synthetic_names);

if(c->prev != NULL) {
c->prev->hadError |= c->hadError;
Expand Down

0 comments on commit a75f224

Please sign in to comment.