mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
~Rule will delete chainedRule
Came across this memory leak when reloading nginx with hundreds of rule chains
This commit is contained in:
parent
1b28776814
commit
936ec0b479
@ -73,6 +73,10 @@ Rule::~Rule() {
|
||||
if (variables != NULL) {
|
||||
delete variables;
|
||||
}
|
||||
|
||||
if (chainedRule != NULL) {
|
||||
delete chainedRule;
|
||||
}
|
||||
}
|
||||
|
||||
Rule::Rule(std::string marker)
|
||||
|
Loading…
x
Reference in New Issue
Block a user