[sr-dev] git:master: uac: release lock when listing records via rpc
Daniel-Constantin Mierla
miconda at gmail.com
Wed Oct 22 19:09:57 CEST 2014
Module: sip-router
Branch: master
Commit: f63865041136aec65e2f7824967a702b23191364
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f63865041136aec65e2f7824967a702b23191364
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: Wed Oct 22 19:08:25 2014 +0200
uac: release lock when listing records via rpc
- patch by Savolainen Dmitri, FS#484
---
modules/uac/uac_reg.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/uac/uac_reg.c b/modules/uac/uac_reg.c
index 45359fd..8c354ad 100644
--- a/modules/uac/uac_reg.c
+++ b/modules/uac/uac_reg.c
@@ -1574,6 +1574,7 @@ static void rpc_uac_reg_info(rpc_t* rpc, void* ctx)
rpc->fault(ctx, 500, "Internal error adding item");
return;
}
+ lock_release(&_reg_htable->entries[i].lock);
return;
}
reg = reg->next;
More information about the sr-dev
mailing list