mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Fix two rule-reload memory leak issues
This commit is contained in:
@@ -80,6 +80,10 @@ RuleWithActions::RuleWithActions(
|
||||
m_containsStaticBlockAction(false),
|
||||
m_isChained(false) {
|
||||
|
||||
if (transformations != NULL) {
|
||||
delete transformations;
|
||||
}
|
||||
|
||||
if (actions) {
|
||||
for (Action *a : *actions) {
|
||||
if (a->action_kind == Action::ConfigurationKind) {
|
||||
|
Reference in New Issue
Block a user