Skip to content

Commit

Permalink
Probably fix last memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
Noam Preil committed Jul 8, 2020
1 parent 8e42ed0 commit e7bd7a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assembler/assembler.c
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ int try_split_line(struct assembler_state *state, char **line) {
}

void macro_free(macro_t *macro) {
list_free(macro->parameters);
free_flat_list(macro->parameters);
free_flat_list(macro->macro_lines);
free(macro->name);
free(macro);
Expand Down

0 comments on commit e7bd7a3

Please sign in to comment.