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
1.4
Olle Johansson 18 years ago
parent 6e13855338
commit d5fda03428

@ -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;
}

Loading…
Cancel
Save