Author: mjordan
Date: Mon Aug 12 10:48:58 2013
New Revision: 396542
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=396542
Log:
Unlock outgoing dial lock on off nominal path
If the thread servicing the dial request isn't created successfully, the
outgoing dial lock will still be held when the function returns. This patch
unlocks the lock on this off nominal path.
Modified:
trunk/main/pbx.c
Modified: trunk/main/pbx.c
URL:
http://svnview.digium.com/svn/asterisk/trunk/main/pbx.c?view=diff&rev=396542&r1=396541&r2=396542
==============================================================================
--- trunk/main/pbx.c (original)
+++ trunk/main/pbx.c Mon Aug 12 10:48:58 2013
@@ -9969,6 +9969,7 @@
ast_channel_unlock(*channel);
ast_channel_unref(*channel);
}
+ ast_mutex_unlock(&outgoing->lock);
ao2_ref(outgoing, -1);
return -1;
}
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
svn-commits mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/svn-commits