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
This commit is contained in:
Olle Johansson
2007-05-02 06:15:43 +00:00
parent 6e13855338
commit d5fda03428
-1
View 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;
}