mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Adds refCounter to actions
This commit is contained in:
@@ -93,8 +93,8 @@ Rules::~Rules() {
|
||||
std::vector<actions::Action *> *tmp = &defaultActions[i];
|
||||
while (tmp->empty() == false) {
|
||||
actions::Action *a = tmp->back();
|
||||
a->refCountDecreaseAndCheck();
|
||||
tmp->pop_back();
|
||||
delete a;
|
||||
}
|
||||
}
|
||||
/** Cleanup audit log */
|
||||
|
Reference in New Issue
Block a user