[asterisk-commits] kharwell: branch 12 r404261 - /branches/12/channels/chan_oss.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Dec 18 14:46:14 CST 2013
Author: kharwell
Date: Wed Dec 18 14:46:08 2013
New Revision: 404261
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=404261
Log:
chan_oss.c: channel being locked twice and unlocked once
Removed channel lock as it is now being down in ast_channel_alloc
Modified:
branches/12/channels/chan_oss.c
Modified: branches/12/channels/chan_oss.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/channels/chan_oss.c?view=diff&rev=404261&r1=404260&r2=404261
==============================================================================
--- branches/12/channels/chan_oss.c (original)
+++ branches/12/channels/chan_oss.c Wed Dec 18 14:46:08 2013
@@ -799,7 +799,6 @@
c = ast_channel_alloc(1, state, o->cid_num, o->cid_name, "", ext, ctx, linkedid, 0, "Console/%s", o->device + 5);
if (c == NULL)
return NULL;
- ast_channel_lock(c);
ast_channel_tech_set(c, &oss_tech);
if (o->sounddev < 0)
setformat(o, O_RDWR);
More information about the asterisk-commits
mailing list