[asterisk-commits] mmichelson: trunk r198529 - /trunk/channels/chan_local.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jun 1 09:43:05 CDT 2009
Author: mmichelson
Date: Mon Jun 1 09:42:57 2009
New Revision: 198529
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=198529
Log:
Remove extra lock from local_indicate in connected line case.
Oh, and this fixes a deadlock I was seeing.
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=198529&r1=198528&r2=198529
==============================================================================
--- trunk/channels/chan_local.c (original)
+++ trunk/channels/chan_local.c Mon Jun 1 09:42:57 2009
@@ -434,7 +434,6 @@
}
f.subclass = condition;
f.data.ptr = frame_data;
- ast_mutex_lock(&p->lock);
if (!(res = local_queue_frame(p, isoutbound, &f, ast, 1))) {
ast_mutex_unlock(&p->lock);
}
More information about the asterisk-commits
mailing list