From: Mark Michelson Date: Mon, 1 Jun 2009 14:45:43 +0000 (+0000) Subject: Remove extra lock from app_queue. X-Git-Tag: 11.0.0-beta1~4751 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4c7c13d5742a674af30ca19435349cadcbf72e54;p=thirdparty%2Fasterisk.git Remove extra lock from app_queue. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@198530 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index d19f28368c..3467947768 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -2735,7 +2735,6 @@ static int ring_entry(struct queue_ent *qe, struct callattempt *tmp, int *busies strcpy(tmp->chan->cdr->accountcode, qe->chan->cdr->accountcode); strcpy(tmp->chan->cdr->userfield, qe->chan->cdr->userfield); } - ast_channel_unlock(qe->chan); /* Place the call, but don't wait on the answer */ if ((res = ast_call(tmp->chan, location, 0))) {