From: Richard Mudgett Date: Thu, 21 Jul 2011 16:46:21 +0000 (+0000) Subject: Dialplan bridge() app mutex 'current_dest_chan' freed more times than we've locked! X-Git-Tag: 1.8.6.0-rc1~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d145897bb9406c47e3421b6b2028c8e4089f48f;p=thirdparty%2Fasterisk.git 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) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@329144 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/features.c b/main/features.c index 7a2eb49d0a..67a7a6785b 100644 --- a/main/features.c +++ b/main/features.c @@ -6093,8 +6093,6 @@ static int bridge_exec(struct ast_channel *chan, const char *data) "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;