From: Olle Johansson Date: Wed, 2 May 2007 06:15:43 +0000 (+0000) Subject: Don't unlock a channel that we already know does not exist (propably isue 8228) X-Git-Tag: 1.4.5~238 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d5fda03428fd3227b1f62742f1b229fdd9fb386d;p=thirdparty%2Fasterisk.git Don't unlock a channel that we already know does not exist (propably isue 8228) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62624 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 84ee2e0d8d..7668031174 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -13715,7 +13715,6 @@ static int local_attended_transfer(struct sip_pvt *transferer, struct sip_dual * transferer->refer->status = REFER_FAILED; ast_mutex_unlock(&targetcall_pvt->lock); ast_channel_unlock(current->chan1); - ast_channel_unlock(targetcall_pvt->owner); return -1; }