Fix memory leaks on the collections/variables management

This commit is contained in:
Felipe Zimmerle
2016-02-16 18:56:26 -03:00
parent 49fc1f8b79
commit e346454374
4 changed files with 12 additions and 5 deletions

View File

@@ -148,10 +148,6 @@ Transaction::~Transaction() {
m_requestBody.str(std::string());
m_requestBody.clear();
for (auto &a : m_collections) {
delete a.second;
}
m_rules->decrementReferenceCount();
}