summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rw-r--r--protocols/JabberG/src/jabber_proto.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp
index 99a1ff1688..b094f85590 100644
--- a/protocols/JabberG/src/jabber_proto.cpp
+++ b/protocols/JabberG/src/jabber_proto.cpp
@@ -283,12 +283,7 @@ CJabberProto::~CJabberProto()
for (auto &it : m_lstTransports)
mir_free(it);
- for (auto &it : m_lstJabberFeatCapPairsDynamic) {
- mir_free(it->szExt);
- mir_free(it->szFeature);
- mir_free(it->szDescription);
- delete it;
- }
+ m_lstJabberFeatCapPairsDynamic.destroy();
}
////////////////////////////////////////////////////////////////////////////////////////