Do not crach when compiling with libtcc.

This commit is contained in:
herman ten brugge 2023-04-15 15:36:13 +02:00
parent 24c930a9b8
commit 6a24b762d3

View file

@ -410,6 +410,7 @@ ST_FUNC void tccgen_finish(TCCState *s1)
/* free sym_pools */
dynarray_reset(&sym_pools, &nb_sym_pools);
sym_free_first = NULL;
global_label_stack = local_label_stack = NULL;
}
/* ------------------------------------------------------------------------- */