]> git.ipfire.org Git - thirdparty/asterisk.git/commit
bridge: avoid leaking channel during blond transfer pt2
authorScott Griepentrog <sgriepentrog@digium.com>
Tue, 6 Jan 2015 19:53:47 +0000 (19:53 +0000)
committerScott Griepentrog <sgriepentrog@digium.com>
Tue, 6 Jan 2015 19:53:47 +0000 (19:53 +0000)
commitfb12aedfa5bc404f80cecc3611a32deefc26cc1d
treedd2f8d9cf2b53c5a13a059fcd46360f7d598a83a
parent76e69500f01bb9a6076f19e95c0a2a9c348b107c
bridge: avoid leaking channel during blond transfer pt2

A blond transfer to a failed destination, when followed
by a recall attempt, lead to a leak of the reference to
the destination channel.  In addition to correcting the
regression on the previous attempt (r429826) this fixes
the leak and two additional reference leaks on failures
of bridge_import.

ASTERISK-24513 #close
Review: https://reviewboard.asterisk.org/r/4302/
........

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

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/certified/branches/13.1@430245 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/bridge_basic.c