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:
Olle Johansson 2006-10-30 18:02:37 +00:00
parent 4bfa05d373
commit aadccc10b8
1 changed files with 1 additions and 1 deletions

View File

@ -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);