]> git.ipfire.org Git - thirdparty/asterisk.git/commit
features.c: Fix lingering channel ref while Bridge() application is active.
authorRichard Mudgett <rmudgett@digium.com>
Mon, 6 Oct 2014 15:38:42 +0000 (15:38 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 6 Oct 2014 15:38:42 +0000 (15:38 +0000)
commit6a8cb946ebe6c3b94002d551f5b6a0560f0452db
treeb13ebedbea24230723777f4615f6290f855c2fe8
parentc092e49344c106e03f5d06270f25c478d03cc3e1
features.c: Fix lingering channel ref while Bridge() application is active.

Using the Bridge application to bridge a channel that is executing an
applicaiton such as Wait results in a lingering Surrogate channel in the
CLI "core show channels" output even though it has already hungup.

* Fix bridge_exec() to not hold onto the current_dest_chan ref once it has
been put into the bridge.

* Eliminated bridge_exec()'s use of RAII_VAR().

ASTERISK-24224 #close
Reported by: Mark Michelson

Review: https://reviewboard.asterisk.org/r/4041/
........

Merged revisions 424668 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@424669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/features.c