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

Author: qasimloay <[email protected]>
Committer: Victor Seva <[email protected]>
Date: 2026-06-02T16:44:23+02:00

ims_usrloc_pcscf: update free_security() sync comment to point to 
free_security_t()

The duplicated sec-agree cleanup code in ims_registrar_pcscf/sec_agree.c was
moved out of parse_sec_agree()'s goto-cleanup label into the dedicated
free_security_t() function. Update the "keep in sync" comment above
free_security() to point to free_security_t() instead of the old
parse_sec_agree() cleanup label.

---

Modified: src/modules/ims_usrloc_pcscf/pcontact.c

---

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

---

diff --git a/src/modules/ims_usrloc_pcscf/pcontact.c 
b/src/modules/ims_usrloc_pcscf/pcontact.c
index d04d03725ea..f012e8f82a8 100644
--- a/src/modules/ims_usrloc_pcscf/pcontact.c
+++ b/src/modules/ims_usrloc_pcscf/pcontact.c
@@ -114,8 +114,7 @@ void free_ppublic(ppublic_t *_p)
 
 
 // The same piece of code also lives in modules/ims_registrar_pcscf/sec_agree.c
-// Function - parse_sec_agree()
-// goto label - cleanup
+// Function - free_security_t()
 // Keep them in sync!
 void free_security(security_t *_p)
 {

_______________________________________________
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