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

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

presence_xml: remove deprecated xmlMemoryDump() calls

related #4411

---

Modified: src/modules/presence_xml/add_events.c
Modified: src/modules/presence_xml/notify_body.c

---

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

---

diff --git a/src/modules/presence_xml/add_events.c 
b/src/modules/presence_xml/add_events.c
index ae652a48679..5d60d158d9c 100644
--- a/src/modules/presence_xml/add_events.c
+++ b/src/modules/presence_xml/add_events.c
@@ -166,12 +166,10 @@ int xml_publ_handl(struct sip_msg *msg)
        }
        xmlFreeDoc(doc);
        xmlCleanupParser();
-       xmlMemoryDump();
        return 1;
 
 error:
        xmlFreeDoc(doc);
        xmlCleanupParser();
-       xmlMemoryDump();
        return -1;
 }
diff --git a/src/modules/presence_xml/notify_body.c 
b/src/modules/presence_xml/notify_body.c
index fe91d7c5382..93051dfe3d1 100644
--- a/src/modules/presence_xml/notify_body.c
+++ b/src/modules/presence_xml/notify_body.c
@@ -131,7 +131,6 @@ str *pres_agg_nbody_empty(str *pres_user, str *pres_domain)
 
 
        xmlCleanupParser();
-       xmlMemoryDump();
 
        return n_body;
 }
@@ -175,7 +174,6 @@ str *pres_agg_nbody(str *pres_user, str *pres_domain, str 
**body_array, int n,
        }
 
        xmlCleanupParser();
-       xmlMemoryDump();
 
        return n_body;
 }
@@ -217,7 +215,6 @@ int pres_apply_auth(str *notify_body, subs_t *subs, str 
**final_nbody)
 
        xmlFreeDoc(doc);
        xmlCleanupParser();
-       xmlMemoryDump();
 
        *final_nbody = n_body;
        return 1;
@@ -500,7 +497,6 @@ str *get_final_notify_body(subs_t *subs, str *notify_body, 
xmlNodePtr rule_node)
        xmlFree(deviceID);
        xmlFree(service_uri);
        xmlCleanupParser();
-       xmlMemoryDump();
 
        return new_body;
 
@@ -628,7 +624,6 @@ str *aggregate_xmls(str *pres_user, str *pres_domain, str 
**body_array, int n)
                pkg_free(xml_array);
 
        xmlCleanupParser();
-       xmlMemoryDump();
 
        return body;
 
@@ -736,7 +731,6 @@ str *aggregate_xmls_priority(
                pkg_free(xml_array);
 
        xmlCleanupParser();
-       xmlMemoryDump();
 
        return body;
 
@@ -827,7 +821,6 @@ str *offline_nbody(str *body)
        xmlFreeDoc(doc);
        xmlFreeDoc(new_doc);
        xmlCleanupParser();
-       xmlMemoryDump();
 
        return new_body;
 

_______________________________________________
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