Small conversion to ast_channel_unlock
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46461 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
4bfa05d373
commit
aadccc10b8
|
@ -13343,7 +13343,7 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int
|
|||
if (res) {
|
||||
|
||||
/* Unlock locks so ast_hangup can do its magic */
|
||||
ast_mutex_unlock(&c->lock);
|
||||
ast_channel_unlock(c);
|
||||
sip_pvt_unlock(p);
|
||||
ast_hangup(c);
|
||||
sip_pvt_lock(p);
|
||||
|
|
Loading…
Reference in New Issue