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

Author: Victor Seva <[email protected]>
Committer: Victor Seva <[email protected]>
Date: 2026-01-21T08:45:47+01:00

ims_registrar_scscf: fix unlock_udomain on error

related #4553

---

Modified: src/modules/ims_registrar_scscf/save.c

---

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

---

diff --git a/src/modules/ims_registrar_scscf/save.c 
b/src/modules/ims_registrar_scscf/save.c
index 065dabda6b5..7dc7c906613 100644
--- a/src/modules/ims_registrar_scscf/save.c
+++ b/src/modules/ims_registrar_scscf/save.c
@@ -1228,7 +1228,7 @@ static int update_contacts_sar_re_registration(struct 
sip_msg *msg,
                                                != 0) {
                                        LM_DBG("Contact does not exist 
<%.*s>\n",
                                                        STR_FMT(&chi->uri));
-                                       ul.lock_udomain(_d, public_identity);
+                                       ul.unlock_udomain(_d, public_identity);
                                        return -1;
                                }
                                event_reg(0, impu_rec, ucontact,

_______________________________________________
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