debug: free pcre memory used for output filtering

pull/2924/head
Victor Julien 8 years ago
parent c0d8def0e5
commit 62b8431fdd

@ -1137,6 +1137,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