summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rwxr-xr-xprotocols/JabberG/src/jabber_proto.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp
index f4de9de9d0..5957cfd772 100755
--- a/protocols/JabberG/src/jabber_proto.cpp
+++ b/protocols/JabberG/src/jabber_proto.cpp
@@ -73,6 +73,8 @@ CJabberProto::CJabberProto(const char *aProtoName, const wchar_t *aUserName) :
m_uEnabledFeatCapsDynamic(0),
m_bStrmMgmtPendingEnable(false),
m_bStrmMgmtEnabled(false),
+ m_bStrmMgmtResumeSupported(false),
+ m_sStrmMgmtResumeId(nullptr),
m_bBsDirect(this, "BsDirect", TRUE),
m_bAllowVersionRequests(this, "m_bAllowVersionRequests", TRUE),
@@ -257,6 +259,9 @@ CJabberProto::~CJabberProto()
mir_free(it->szDescription);
delete it;
}
+
+ if (m_sStrmMgmtResumeId)
+ mir_free(m_sStrmMgmtResumeId);
}
////////////////////////////////////////////////////////////////////////////////////////