mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
Deletes ruleMessage by the end of the rule execution
This commit is contained in:
parent
5fa02f17ce
commit
1bf53c0576
@ -598,9 +598,8 @@ bool Rule::evaluate(Transaction *trasn) {
|
||||
trasn->debug(4, "Saving on the server log: "
|
||||
+ ruleMessage->errorLog(trasn));
|
||||
trasn->serverLog(ruleMessage->errorLog(trasn));
|
||||
} else {
|
||||
delete ruleMessage;
|
||||
}
|
||||
delete ruleMessage;
|
||||
|
||||
return globalRet;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user