Module: kamailio
Branch: master
Commit: d36eb41e89b5f4b02b9e4c54413f8d54f9ba9330
URL: 
https://github.com/kamailio/kamailio/commit/d36eb41e89b5f4b02b9e4c54413f8d54f9ba9330

Author: Victor Seva <[email protected]>
Committer: Victor Seva <[email protected]>
Date: 2025-10-06T10:32:58+02:00

pua_xmpp: remove deprecated xmlMemoryDump() calls

related #4411

---

Modified: src/modules/pua_xmpp/simple2xmpp.c
Modified: src/modules/pua_xmpp/xmpp2simple.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/d36eb41e89b5f4b02b9e4c54413f8d54f9ba9330.diff
Patch: 
https://github.com/kamailio/kamailio/commit/d36eb41e89b5f4b02b9e4c54413f8d54f9ba9330.patch

---

diff --git a/src/modules/pua_xmpp/simple2xmpp.c 
b/src/modules/pua_xmpp/simple2xmpp.c
index 42a0bf4dcb9..2f02f5ec2c0 100644
--- a/src/modules/pua_xmpp/simple2xmpp.c
+++ b/src/modules/pua_xmpp/simple2xmpp.c
@@ -450,7 +450,6 @@ int build_xmpp_content(
 
        xmlBufferFree(buffer);
        xmlCleanupParser();
-       xmlMemoryDump();
 
        if(sip_doc)
                xmlFreeDoc(sip_doc);
@@ -466,7 +465,6 @@ int build_xmpp_content(
        if(buffer)
                xmlBufferFree(buffer);
        xmlCleanupParser();
-       xmlMemoryDump();
 
        return -1;
 }
@@ -575,7 +573,6 @@ int winfo2xmpp(str *to_uri, str *body, str *id)
 
        xmlFreeDoc(notify_doc);
        xmlCleanupParser();
-       xmlMemoryDump();
        return 0;
 
 error:
@@ -589,7 +586,6 @@ int winfo2xmpp(str *to_uri, str *body, str *id)
        if(buffer)
                xmlBufferFree(buffer);
        xmlCleanupParser();
-       xmlMemoryDump();
 
        return -1;
 }
diff --git a/src/modules/pua_xmpp/xmpp2simple.c 
b/src/modules/pua_xmpp/xmpp2simple.c
index 29d8d657960..4d458931381 100644
--- a/src/modules/pua_xmpp/xmpp2simple.c
+++ b/src/modules/pua_xmpp/xmpp2simple.c
@@ -117,7 +117,6 @@ void pres_Xmpp2Sip(char *msg, int type, void *param)
 
        xmlFreeDoc(doc);
        xmlCleanupParser();
-       xmlMemoryDump();
        return;
 
 error:
@@ -125,7 +124,6 @@ void pres_Xmpp2Sip(char *msg, int type, void *param)
        if(doc)
                xmlFreeDoc(doc);
        xmlCleanupParser();
-       xmlMemoryDump();
 
        return;
 }

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to