From e8ae74d22d71d5d32e6384c95f3ffedcc840b31d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 20 Feb 2019 13:53:19 +0300 Subject: one more fix for #1854 --- protocols/JabberG/src/jabber_disco.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/JabberG/src/jabber_disco.cpp b/protocols/JabberG/src/jabber_disco.cpp index 9f68975dc0..98ad3eab9a 100644 --- a/protocols/JabberG/src/jabber_disco.cpp +++ b/protocols/JabberG/src/jabber_disco.cpp @@ -216,7 +216,7 @@ void CJabberProto::OnIqResultServiceDiscoveryRootItems(const TiXmlElement *iqNod XmlNodeIq iq(pNewInfo); iq << XQUERY(JABBER_FEAT_DISCO_INFO) << XATTR("node", szNode); - packet.InsertEndChild(iq); + packet.InsertEndChild(iq.node()->DeepClone(&packet)); } } lck.unlock(); -- cgit v1.2.3