aboutsummaryrefslogtreecommitdiff
path: root/libtcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtcc.c')
-rw-r--r--libtcc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libtcc.c b/libtcc.c
index dc78643..601999e 100644
--- a/libtcc.c
+++ b/libtcc.c
@@ -1094,6 +1094,8 @@ LIBTCCAPI void tcc_delete(TCCState *s1)
# endif
#endif
+ if(s1->sym_attrs) tcc_free(s1->sym_attrs);
+
tcc_free(s1);
}