mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-01 03:57:47 +03:00
Fix memory leaks on the collections/variables management
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user