mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 19:47:47 +03:00
Having default actions as o shared pointer
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1194,7 +1194,8 @@ expression:
|
||||
}
|
||||
|
||||
for (actions::Action *a : checkedActions) {
|
||||
driver.m_defaultActions[definedPhase].push_back(a);
|
||||
driver.m_defaultActions[definedPhase].push_back(
|
||||
std::unique_ptr<actions::Action>(a));
|
||||
}
|
||||
|
||||
delete actions;
|
||||
|
Reference in New Issue
Block a user