debug: free pcre memory used for output filtering

pull/2926/head
Victor Julien 8 years ago
parent 04e7d04633
commit b12a5fe5b0

@ -1131,6 +1131,11 @@ static inline void SCLogFreeLogConfig(SCLogConfig *sc_lc)
if (sc_lc->op_filter != NULL)
SCFree(sc_lc->op_filter);
if (sc_lc->op_filter_regex != NULL)
pcre_free(sc_lc->op_filter_regex);
if (sc_lc->op_filter_regex_study)
pcre_free_study(sc_lc->op_filter_regex_study);
SCLogFreeLogOPIfaceCtx(sc_lc->op_ifaces);
SCFree(sc_lc);
}

Loading…
Cancel
Save