diff --git a/libtcc.c b/libtcc.c index 995e779..5eaa4f6 100644 --- a/libtcc.c +++ b/libtcc.c @@ -993,6 +993,7 @@ LIBTCCAPI TCCState *tcc_new(void) tok = strtok_r(NULL, delim, &tok_save_ptr); } tcc_free(tok_extra_libdir); + tcc_free(extra_libdir_str); } #endif #endif