]> 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:41:32 +0000 (15:41 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 6 Oct 2014 15:41:32 +0000 (15:41 +0000)
commitc384532aa44717c20ebbe16cca558fc45f90f139
treec43f3688495de11c32faf31bd4e3baabd61d1ee8
parent3a87f32dc0aab6389e5eeda8088aaba0c1759604
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
........

Merged revisions 424669 from http://svn.asterisk.org/svn/asterisk/branches/13

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