allow to use MEM_DEBUG with libtcc
This commit is contained in:
parent
cb7e820eae
commit
ae09051c81
2 changed files with 1 additions and 2 deletions
1
libtcc.c
1
libtcc.c
|
@ -1111,6 +1111,7 @@ LIBTCCAPI void tcc_delete(TCCState *s1)
|
|||
|
||||
tcc_free(s1->sym_attrs);
|
||||
tcc_free(s1);
|
||||
tcc_memstats();
|
||||
}
|
||||
|
||||
LIBTCCAPI int tcc_add_include_path(TCCState *s, const char *pathname)
|
||||
|
|
2
tcc.c
2
tcc.c
|
@ -369,7 +369,5 @@ int main(int argc, char **argv)
|
|||
}
|
||||
|
||||
tcc_delete(s);
|
||||
if (bench)
|
||||
tcc_memstats();
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue