[asterisk-commits] mmichelson: trunk r187830 - /trunk/channels/chan_local.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Apr 10 13:57:18 CDT 2009
Author: mmichelson
Date: Fri Apr 10 13:56:52 2009
New Revision: 187830
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=187830
Log:
Indicating connected line or redirecting updates were missing a call to lock the local_pvt.
Modified:
trunk/channels/chan_local.c
Modified: trunk/channels/chan_local.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/channels/chan_local.c?view=diff&rev=187830&r1=187829&r2=187830
==============================================================================
--- trunk/channels/chan_local.c (original)
+++ trunk/channels/chan_local.c Fri Apr 10 13:56:52 2009
@@ -433,6 +433,7 @@
}
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