diff --git a/libtcc.c b/libtcc.c index 90dd1858..a14cd5f6 100644 --- a/libtcc.c +++ b/libtcc.c @@ -891,7 +891,6 @@ LIBTCCAPI void tcc_undefine_symbol(TCCState *s1, const char *sym) /* undefine symbol by putting an invalid name */ if (s) define_undef(s); - tcc_free(ts); } /* cleanup all static data used during compilation */