Hi, Willy > diff --git a/include/common/regex.h b/include/common/regex.h > index bab1a55..0104019 100644 > --- a/include/common/regex.h > +++ b/include/common/regex.h > @@ -79,7 +79,6 @@ static inline void regex_free(regex *preg) { > #ifdef USE_PCRE_JIT > pcre_free_study(preg->extra); > pcre_free(preg->reg); > -free(preg); > #else > regfree(preg); > #endif
I've tested after applying this patch. It works very well without corrupting. Thanks, Seri