pool for symbol allocation
This commit is contained in:
parent
48c85f1b15
commit
be5e9cb962
1 changed files with 1 additions and 1 deletions
2
tccasm.c
2
tccasm.c
|
|
@ -302,7 +302,7 @@ static void asm_free_labels(TCCState *st)
|
||||||
}
|
}
|
||||||
/* remove label */
|
/* remove label */
|
||||||
table_ident[s->v - TOK_IDENT]->sym_label = NULL;
|
table_ident[s->v - TOK_IDENT]->sym_label = NULL;
|
||||||
tcc_free(s);
|
sym_free(s);
|
||||||
}
|
}
|
||||||
st->asm_labels = NULL;
|
st->asm_labels = NULL;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue