Module: kamailio
Branch: master
Commit: 1af3caf427d3268fe7caa8d8dbd4ff2f6f3ec59d
URL:
https://github.com/kamailio/kamailio/commit/1af3caf427d3268fe7caa8d8dbd4ff2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-04-03T18:03:55+02:00
core: removed invalid lock release introduced by commit f775e4000e
---
Modified: src/core/receive.c
---
Diff:
https://github.com/kamailio/kamailio/commit/1af3caf427d3268fe7caa8d8dbd4ff2…
Patch:
https://github.com/kamailio/kamailio/commit/1af3caf427d3268fe7caa8d8dbd4ff2…
---
diff --git a/src/core/receive.c b/src/core/receive.c
index 27d4bd9986..2b8b2c7f56 100644
--- a/src/core/receive.c
+++ b/src/core/receive.c
@@ -395,11 +395,10 @@ int receive_msg(char *buf, unsigned int len, struct receive_info
*rcv_info)
rec_lock_set_get(ksr_route_locks_set, cidlockidx);
ret = keng->froute(msg, CORE_ONREPLY_ROUTE, NULL, NULL);
rec_lock_set_release(ksr_route_locks_set, cidlockidx);
- sr_kemi_act_ctx_set(bctx);
} else {
ret = keng->froute(msg, CORE_ONREPLY_ROUTE, NULL, NULL);
- rec_lock_set_release(ksr_route_locks_set, cidlockidx);
}
+ sr_kemi_act_ctx_set(bctx);
} else {
if(unlikely(cidlockset)) {
rec_lock_set_get(ksr_route_locks_set, cidlockidx);