]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Remove a bogus ast_channel_unlock().
authorRussell Bryant <russell@russellbryant.com>
Thu, 23 Apr 2009 21:07:07 +0000 (21:07 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 23 Apr 2009 21:07:07 +0000 (21:07 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@190356 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 395ecb7b4014634e4c0a20e897c5691c5a913270..b882f2cb0e26205ab7d9be73fa6cee401c760ac3 100644 (file)
@@ -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;
        }