diff options
| author | seyko <seyko2@gmail.com> | 2015-05-11 18:05:31 +0300 |
|---|---|---|
| committer | seyko <seyko2@gmail.com> | 2015-05-11 18:05:31 +0300 |
| commit | ae09051c815e115b3c37abeb9ff4a27832770e9e (patch) | |
| tree | a987d1eaa014a7c3a853987e9b930148fc9244da | |
| parent | cb7e820eaebed7963196f3ef90e2e1e945abec8d (diff) | |
| download | tinycc-ae09051c815e115b3c37abeb9ff4a27832770e9e.tar.gz tinycc-ae09051c815e115b3c37abeb9ff4a27832770e9e.tar.bz2 | |
allow to use MEM_DEBUG with libtcc
| -rw-r--r-- | libtcc.c | 1 | ||||
| -rw-r--r-- | tcc.c | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -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) @@ -369,7 +369,5 @@ int main(int argc, char **argv) } tcc_delete(s); - if (bench) - tcc_memstats(); return ret; } |
