Module: sip-router
Branch: master
Commit: f10fd6f868df40f12f4c878c0321b414709d2c56
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f10fd6f…
Author: Richard Good <richard.good(a)smilecoms.com>
Committer: Richard Good <richard.good(a)smilecoms.com>
Date: Fri May 23 18:04:03 2014 +0200
modules:ims_registrar_scscf: fixed domain lockup when generating notifications if impu not
found
---
modules/ims_registrar_scscf/registrar_notify.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/ims_registrar_scscf/registrar_notify.c
b/modules/ims_registrar_scscf/registrar_notify.c
index e5086a5..f953a86 100644
--- a/modules/ims_registrar_scscf/registrar_notify.c
+++ b/modules/ims_registrar_scscf/registrar_notify.c
@@ -1444,6 +1444,7 @@ str generate_reginfo_full(udomain_t* _t, str* impu_list, int
num_impus) {
res = ul.get_impurecord(_t, &(impu_list[i]), &r);
if (res != 0) {
LM_WARN("impu disappeared, ignoring it\n");
+ ul.unlock_udomain(_t, &impu_list[i]);
continue;
}
LM_DBG("Retrieved IMPU record");