[asterisk-bugs] [JIRA] (ASTERISK-15242) transmit_refer leaks sip_refer structures

Corey Farrell (JIRA) noreply at issues.asterisk.org
Mon Nov 17 10:03:30 CST 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-15242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Corey Farrell closed ASTERISK-15242.
------------------------------------


> transmit_refer leaks sip_refer structures
> -----------------------------------------
>
>                 Key: ASTERISK-15242
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-15242
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Channels/chan_sip/Transfers
>    Affects Versions: SVN, 11.13.1, 12.6.1, 13.0.0
>            Reporter: David Woolley
>            Assignee: Corey Farrell
>            Severity: Minor
>
> transmit_refer is used to implement the sip_transfer function on Up calls.  It calls sip_refer_allocate without checking to see if there is already a p->refer structure.
> Transfers can fail, so this can happen several times in a call.
> The only time that this structure is released is when the SIP private structure is destroyed.
> ****** ADDITIONAL INFORMATION ******
> Identified by code reading only and initially on 1.6.1.0, whilst working on ASTERISK-15145, but also present in the current trunk version.
> This is on my list for ASTERISK-15145, but we may yet abandon it, so I am recording it as as separate issue. (Also the fix may be obvious to someone who knows the code - my slight concern at the moment is that something may be assuming a clean structure.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list