tcc_free(table_ident) in preprocess_new() if table_ident != NULL
This commit is contained in:
1
libtcc.c
1
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);
|
||||
|
||||
Reference in New Issue
Block a user