[asterisk-commits] mmichelson: trunk r198530 - /trunk/apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jun 1 09:45:46 CDT 2009


Author: mmichelson
Date: Mon Jun  1 09:45:43 2009
New Revision: 198530

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=198530
Log:
Remove extra lock from app_queue.


Modified:
    trunk/apps/app_queue.c

Modified: trunk/apps/app_queue.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/apps/app_queue.c?view=diff&rev=198530&r1=198529&r2=198530
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Mon Jun  1 09:45:43 2009
@@ -2735,7 +2735,6 @@
 		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))) {




More information about the asterisk-commits mailing list