[asterisk-commits] mmichelson: trunk r198511 - /trunk/channels/chan_local.c

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


Author: mmichelson
Date: Mon Jun  1 09:19:49 2009
New Revision: 198511

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=198511
Log:
Add missing unlock of local pvt.


Modified:
    trunk/channels/chan_local.c

Modified: trunk/channels/chan_local.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/channels/chan_local.c?view=diff&rev=198511&r1=198510&r2=198511
==============================================================================
--- trunk/channels/chan_local.c (original)
+++ trunk/channels/chan_local.c Mon Jun  1 09:19:49 2009
@@ -438,6 +438,8 @@
 			if (!(res = local_queue_frame(p, isoutbound, &f, ast, 1))) {
 				ast_mutex_unlock(&p->lock);
 			}
+		} else {
+			ast_mutex_unlock(&p->lock);
 		}
 	} else {
 		/* Queue up a frame representing the indication as a control frame */




More information about the asterisk-commits mailing list