diff --git a/assembler/assembler.c b/assembler/assembler.c index e4d2798..fcc6645 100644 --- a/assembler/assembler.c +++ b/assembler/assembler.c @@ -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);