]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Don't unlock a channel that we already know does not exist (propably isue 8228)
authorOlle Johansson <oej@edvina.net>
Wed, 2 May 2007 06:15:43 +0000 (06:15 +0000)
committerOlle Johansson <oej@edvina.net>
Wed, 2 May 2007 06:15:43 +0000 (06:15 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62624 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 84ee2e0d8dae2adce2f84f64c531dd605000064d..76680311747dc8e343ab1ecea1a67a4e21a3d1a4 100644 (file)
@@ -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;
        }