[svn-commits] russell: branch russell/ast_channel_ao2 r183815 - /team/russell/ast_channel_a...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Mar 23 15:48:48 CDT 2009
Author: russell
Date: Mon Mar 23 15:48:45 2009
New Revision: 183815
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=183815
Log:
Remove unnecessary channel locking
Modified:
team/russell/ast_channel_ao2/res/res_clioriginate.c
Modified: team/russell/ast_channel_ao2/res/res_clioriginate.c
URL: http://svn.digium.com/svn-view/asterisk/team/russell/ast_channel_ao2/res/res_clioriginate.c?view=diff&rev=183815&r1=183814&r2=183815
==============================================================================
--- team/russell/ast_channel_ao2/res/res_clioriginate.c (original)
+++ team/russell/ast_channel_ao2/res/res_clioriginate.c Mon Mar 23 15:48:45 2009
@@ -206,9 +206,8 @@
return CLI_FAILURE;
}
- ast_channel_lock(chan);
res = ast_async_parseable_goto(chan, dest);
- ast_channel_unlock(chan);
+
chan = ast_channel_unref(chan);
if (!res) {
More information about the svn-commits
mailing list