aboutsummaryrefslogtreecommitdiff
path: root/libtcc.c
diff options
context:
space:
mode:
authorseyko <seyko2@gmail.com>2015-05-11 18:05:31 +0300
committerseyko <seyko2@gmail.com>2015-05-11 18:05:31 +0300
commitae09051c815e115b3c37abeb9ff4a27832770e9e (patch)
treea987d1eaa014a7c3a853987e9b930148fc9244da /libtcc.c
parentcb7e820eaebed7963196f3ef90e2e1e945abec8d (diff)
downloadtinycc-ae09051c815e115b3c37abeb9ff4a27832770e9e.tar.gz
tinycc-ae09051c815e115b3c37abeb9ff4a27832770e9e.tar.bz2
allow to use MEM_DEBUG with libtcc
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 dfdf85b..42e8a43 100644
--- a/libtcc.c
+++ b/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)