Skip to content

Commit e7bd7a3

Browse files
author
Noam Preil
committed
Probably fix last memory leak
1 parent 8e42ed0 commit e7bd7a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assembler/assembler.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ int try_split_line(struct assembler_state *state, char **line) {
554554
}
555555

556556
void macro_free(macro_t *macro) {
557-
list_free(macro->parameters);
557+
free_flat_list(macro->parameters);
558558
free_flat_list(macro->macro_lines);
559559
free(macro->name);
560560
free(macro);

0 commit comments

Comments
 (0)