Unified · Split
| @@ -869,6 +869,7 @@ LIBTCCAPI void tcc_undefine_symbol(TCCState *s1, const char *sym) · 868 unmodified lines | |||
| 869 | /* undefine symbol by putting an invalid name */ | 869 | /* undefine symbol by putting an invalid name */ |
| 870 | if (s) | 870 | if (s) |
| 871 | define_undef(s); | 871 | define_undef(s); |
| 872 | tcc_free(ts); | ||
| 872 | } | 873 | } |
| 873 | 874 | ||
| 874 | /* cleanup all static data used during compilation */ | 875 | /* cleanup all static data used during compilation */ |