Merged revisions 62624 via svnmerge from
authorOlle Johansson <oej@edvina.net>
Wed, 2 May 2007 09:35:14 +0000 (09:35 +0000)
committerOlle Johansson <oej@edvina.net>
Wed, 2 May 2007 09:35:14 +0000 (09:35 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62624 | oej | 2007-05-02 08:15:43 +0200 (Wed, 02 May 2007) | 2 lines

Don't unlock a channel that we already know does not exist (propably isue 8228)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62639 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 174e2c3..092064a 100644 (file)
@@ -14482,7 +14482,6 @@ static int local_attended_transfer(struct sip_pvt *transferer, struct sip_dual *
                transferer->refer->status = REFER_FAILED;
                sip_pvt_unlock(targetcall_pvt);
                ast_channel_unlock(current->chan1);
-               ast_channel_unlock(targetcall_pvt->owner);
                return -1;
        }