Do not crach when compiling with libtcc.
This commit is contained in:
parent
24c930a9b8
commit
6a24b762d3
1 changed files with 1 additions and 0 deletions
1
tccgen.c
1
tccgen.c
|
@ -410,6 +410,7 @@ ST_FUNC void tccgen_finish(TCCState *s1)
|
||||||
/* free sym_pools */
|
/* free sym_pools */
|
||||||
dynarray_reset(&sym_pools, &nb_sym_pools);
|
dynarray_reset(&sym_pools, &nb_sym_pools);
|
||||||
sym_free_first = NULL;
|
sym_free_first = NULL;
|
||||||
|
global_label_stack = local_label_stack = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ------------------------------------------------------------------------- */
|
/* ------------------------------------------------------------------------- */
|
||||||
|
|
Loading…
Add table
Reference in a new issue