[asterisk-bugs] [JIRA] (ASTERISK-25226) chan_sip: Channel leak in branch 13 on early replaces call pickup
Walter Doekes (JIRA)
noreply at issues.asterisk.org
Thu Jul 2 09:08:33 CDT 2015
Walter Doekes created ASTERISK-25226:
----------------------------------------
Summary: chan_sip: Channel leak in branch 13 on early replaces call pickup
Key: ASTERISK-25226
URL: https://issues.asterisk.org/jira/browse/ASTERISK-25226
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Channels/chan_sip/Transfers
Affects Versions: 13.4.0
Reporter: Walter Doekes
When doing a (non-magic) early call pickup, the Asterisk 13 branch chan_sip leaks channels.
Taking the callpickup.sh from ASTERISK-25213, you observe a lost channel after a single run:
{noformat}
*CLI> core show channels
Channel Location State Application(Data)
SIP/bob-00000001 (None) Ringing AppDial((Outgoing Line))
0 active channels
0 active calls
1 call processed
{noformat}
Valgrind reports the leaks as coming from sip_new().
Also note that {{core stop gracefully}} refuses to stop because of the leaked channel.
The attached patch fixes it. Thanks Matt and Corey for looking at the other (bridge) path portion of the patch.
Cheers,
Walter Doekes
OSSO B.V.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list