Module: kamailio Branch: 6.0 Commit: 800895cb5d069268016812a0174ca3ed2dc6b479 URL: https://github.com/kamailio/kamailio/commit/800895cb5d069268016812a0174ca3ed2dc6b479
Author: Victor Seva <[email protected]> Committer: Victor Seva <[email protected]> Date: 2026-01-21T08:36:46+01:00 ims_registrar_scscf: unlock_udomain using the proper identity related #4553 --- Modified: src/modules/ims_registrar_scscf/save.c --- Diff: https://github.com/kamailio/kamailio/commit/800895cb5d069268016812a0174ca3ed2dc6b479.diff Patch: https://github.com/kamailio/kamailio/commit/800895cb5d069268016812a0174ca3ed2dc6b479.patch --- diff --git a/src/modules/ims_registrar_scscf/save.c b/src/modules/ims_registrar_scscf/save.c index 250274087c0..1656a88ec34 100644 --- a/src/modules/ims_registrar_scscf/save.c +++ b/src/modules/ims_registrar_scscf/save.c @@ -954,7 +954,7 @@ int update_contacts(struct sip_msg *msg, udomain_t *_d, str *public_identity, != 0) { LM_DBG("Contact does not exist <%.*s>\n", chi->uri.len, chi->uri.s); - ul.unlock_udomain(_d, &pi->public_identity); + ul.unlock_udomain(_d, public_identity); goto error; } event_reg(0, impu_rec, ucontact, @@ -1092,7 +1092,7 @@ int update_contacts(struct sip_msg *msg, udomain_t *_d, str *public_identity, != 0) { LM_DBG("Contact does not exist <%.*s>\n", chi->uri.len, chi->uri.s); - ul.unlock_udomain(_d, &pi->public_identity); + ul.unlock_udomain(_d, public_identity); goto error; } event_reg(0, impu_rec, ucontact, @@ -1255,7 +1255,8 @@ int update_contacts(struct sip_msg *msg, udomain_t *_d, str *public_identity, LM_ERR("Error trying to determine if " "this is a sos contact <%.*s>\n", chi->uri.len, chi->uri.s); - ul.unlock_udomain(_d, public_identity); + ul.unlock_udomain( + _d, &pi->public_identity); goto error; } calc_contact_expires(chi, expires_hdr, sos); _______________________________________________ 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!
