[svn-commits] tilghman: branch 1.4 r214940 - /branches/1.4/channels/chan_local.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Aug 31 11:16:57 CDT 2009


Author: tilghman
Date: Mon Aug 31 11:16:52 2009
New Revision: 214940

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=214940
Log:
Also unlock the "other" channel, when returning, due to glare.
(closes issue #15787)
 Reported by: tim_ringenbach
 Patches: 
       chan_local.diff uploaded by tim ringenbach (license 540)
 Tested by: tim_ringenbach

Modified:
    branches/1.4/channels/chan_local.c

Modified: branches/1.4/channels/chan_local.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.4/channels/chan_local.c?view=diff&rev=214940&r1=214939&r2=214940
==============================================================================
--- branches/1.4/channels/chan_local.c (original)
+++ branches/1.4/channels/chan_local.c Mon Aug 31 11:16:52 2009
@@ -204,6 +204,9 @@
 		return and destroy p.  */
 		ast_mutex_unlock(&p->lock);
 		p = local_pvt_destroy(p);
+		if (other) {
+			ast_channel_unlock(other);
+		}
 		return -1;
 	}
 




More information about the svn-commits mailing list