]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Fix early call pickup channel leak. 74/774/1
authorWalter Doekes <walter+asterisk@wjd.nu>
Thu, 2 Jul 2015 14:08:12 +0000 (16:08 +0200)
committerWalter Doekes <walter+asterisk@wjd.nu>
Thu, 2 Jul 2015 14:12:32 +0000 (16:12 +0200)
commite0f565663b49e14c15d7b5e6e9ff7396956b91f6
tree0a780d8c80bb06e1d35c35c4e9259ed113c17510
parentde3678c92e57083c1332eabf129cd1551dd0b625
chan_sip: Fix early call pickup channel leak.

When handle_invite_replaces() was called, and either ast_bridge_impart()
failed or there was no bridge (because the channel we're picking up was
still ringing), chan_sip would leak a channel.

Thanks Matt and Corey for checking the bridge path.

ASTERISK-25226 #close

Change-Id: Ie736bb182170a73eef5bcef0ab0376f645c260c8
channels/chan_sip.c