summaryrefslogtreecommitdiffstats
path: root/runtime/rule.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/rule.c')
-rw-r--r--runtime/rule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/rule.c b/runtime/rule.c
index 96bf2c2f..254f2f10 100644
--- a/runtime/rule.c
+++ b/runtime/rule.c
@@ -335,6 +335,8 @@ CODESTARTobjDestruct(rule)
rsCStrRegexDestruct(&pThis->f_filterData.prop.regex_cache);
if(pThis->f_filterData.prop.propName != NULL)
es_deleteStr(pThis->f_filterData.prop.propName);
+ } else if(pThis->f_filter_type == FILTER_EXPR) {
+ cnfexprDestruct(pThis->f_filterData.expr);
}
#warning: need to destroy expression based filter!