aboutsummaryrefslogtreecommitdiff
path: root/libtcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtcc.c')
-rw-r--r--libtcc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libtcc.c b/libtcc.c
index e5eefe4..10d2387 100644
--- a/libtcc.c
+++ b/libtcc.c
@@ -888,6 +888,7 @@ static void tcc_cleanup(void)
for(i = 0; i < n; i++)
tcc_free(table_ident[i]);
tcc_free(table_ident);
+ table_ident = NULL;
/* free sym_pools */
dynarray_reset(&sym_pools, &nb_sym_pools);