Adds refCounter to actions

This commit is contained in:
Felipe Zimmerle
2016-11-08 18:14:34 -03:00
parent ad05c74c3f
commit 3ee7b24928
102 changed files with 126 additions and 105 deletions

View File

@@ -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 */