aboutsummaryrefslogtreecommitdiff
path: root/tccasm.c
diff options
context:
space:
mode:
Diffstat (limited to 'tccasm.c')
-rw-r--r--tccasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tccasm.c b/tccasm.c
index c28364e..864f946 100644
--- a/tccasm.c
+++ b/tccasm.c
@@ -302,7 +302,7 @@ static void asm_free_labels(TCCState *st)
}
/* remove label */
table_ident[s->v - TOK_IDENT]->sym_label = NULL;
- tcc_free(s);
+ sym_free(s);
}
st->asm_labels = NULL;
}