mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-01 12:07:46 +03:00
Fixes regarding memory management
Fixes assorted issues identified by valgrind.
This commit is contained in:
@@ -309,6 +309,7 @@ bool Rule::evaluate(Transaction *trasn) {
|
||||
variable->evaluateInternal(trasn, this, &z);
|
||||
for (auto &y : z) {
|
||||
exclusions.push_back(y->m_key);
|
||||
delete y;
|
||||
}
|
||||
exclusions.push_back(variable->m_name);
|
||||
}
|
||||
|
Reference in New Issue
Block a user