mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Deletes ruleMessage by the end of the rule execution
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user