aboutsummaryrefslogtreecommitdiff
path: root/libtcc.c
diff options
context:
space:
mode:
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 72524eb..e5eefe4 100644
--- a/libtcc.c
+++ b/libtcc.c
@@ -869,6 +869,7 @@ 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 */