Skip to content

Commit 84d6c42

Browse files
author
Noam Preil
committed
Probably fix last memory leak
1 parent f2659d9 commit 84d6c42

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
@@ -551,7 +551,7 @@ int try_split_line(struct assembler_state *state, char **line) {
551551
}
552552

553553
void macro_free(macro_t *macro) {
554-
list_free(macro->parameters);
554+
free_flat_list(macro->parameters);
555555
free_flat_list(macro->macro_lines);
556556
free(macro->name);
557557
free(macro);

0 commit comments

Comments
 (0)