Module: kamailio
Branch: master
Commit: ff695de3c4e25dcb862f92c59e8c4b5d947ca696
URL:
https://github.com/kamailio/kamailio/commit/ff695de3c4e25dcb862f92c59e8c4b5…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-11-14T09:04:26+01:00
core: kemi - release lock if indexed callback is found
---
Modified: kemi.c
---
Diff:
https://github.com/kamailio/kamailio/commit/ff695de3c4e25dcb862f92c59e8c4b5…
Patch:
https://github.com/kamailio/kamailio/commit/ff695de3c4e25dcb862f92c59e8c4b5…
---
diff --git a/kemi.c b/kemi.c
index cbbcbb8..1b880a1 100644
--- a/kemi.c
+++ b/kemi.c
@@ -1040,6 +1040,7 @@ int sr_kemi_cbname_lookup_name(str *name)
if(_sr_kemi_cbname_list[i].name.len==name->len
&& strncmp(_sr_kemi_cbname_list[i].name.s,
name->s, name->len)==0) {
+ lock_release(_sr_kemi_cbname_lock);
return i+1;
}
}