[asterisk-commits] rmudgett: branch 1.8 r329144 - /branches/1.8/main/features.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jul 21 11:46:25 CDT 2011


Author: rmudgett
Date: Thu Jul 21 11:46:21 2011
New Revision: 329144

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=329144
Log:
Dialplan bridge() app mutex 'current_dest_chan' freed more times than we've locked!

This appears to be a leftover from when ast_channel was converted to ao2
objects.

Simply removed the extraneous unlock.

(closes issue ASTERISK-17772)

Modified:
    branches/1.8/main/features.c

Modified: branches/1.8/main/features.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/features.c?view=diff&rev=329144&r1=329143&r2=329144
==============================================================================
--- branches/1.8/main/features.c (original)
+++ branches/1.8/main/features.c Thu Jul 21 11:46:21 2011
@@ -6093,8 +6093,6 @@
 					"Channel2: %s\r\n", chan->name, args.dest_chan);
 	}
 
-	ast_channel_unlock(current_dest_chan);
-
 	do_bridge_masquerade(current_dest_chan, final_dest_chan);
 
 	chans[0] = current_dest_chan;




More information about the asterisk-commits mailing list