diff --git a/src/operators/rx.cc b/src/operators/rx.cc index 1f321132..f69ca97d 100644 --- a/src/operators/rx.cc +++ b/src/operators/rx.cc @@ -69,14 +69,14 @@ bool Rx::evaluate(Transaction *transaction, RuleWithActions *rule, logOffset(ruleMessage, capture.m_offset, capture.m_length); } - if (!captures.empty()) { - return true; - } - if (m_string->m_containsMacro) { delete re; } + if (!captures.empty()) { + return true; + } + return false; }