Fix two rule-reload memory leak issues

This commit is contained in:
Martin Vierula
2022-09-15 13:44:40 -07:00
parent 17f3bb0b36
commit e9a7ba4a60
4 changed files with 14 additions and 2 deletions

View File

@@ -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) {