From: Russell Bryant Date: Thu, 23 Apr 2009 21:07:07 +0000 (+0000) Subject: Remove a bogus ast_channel_unlock(). X-Git-Tag: 1.4.25-rc1~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03eb22fe76bffb950c4b1bb71277291f37658027;p=thirdparty%2Fasterisk.git Remove a bogus ast_channel_unlock(). git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@190356 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 395ecb7b40..b882f2cb0e 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -14960,7 +14960,6 @@ static int local_attended_transfer(struct sip_pvt *transferer, struct sip_dual * ast_clear_flag(&transferer->flags[0], SIP_GOTREFER); transferer->refer->status = REFER_FAILED; ast_mutex_unlock(&targetcall_pvt->lock); - ast_channel_unlock(current->chan1); return -1; }