From ae09051c815e115b3c37abeb9ff4a27832770e9e Mon Sep 17 00:00:00 2001 From: seyko Date: Mon, 11 May 2015 18:05:31 +0300 Subject: allow to use MEM_DEBUG with libtcc --- libtcc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libtcc.c') 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) -- cgit v1.3.1