[asterisk-bugs] [Asterisk 0016352]: transmit_refer leaks sip_refer structures

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Mar 23 11:18:49 CDT 2010


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16352 
====================================================================== 
Reported By:                davidw
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16352
Category:                   Channels/chan_sip/Transfers
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 231436 
Request Review:              
====================================================================== 
Date Submitted:             2009-11-30 11:40 CST
Last Modified:              2010-03-23 11:18 CDT
====================================================================== 
Summary:                    transmit_refer leaks sip_refer structures
Description: 
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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-23 11:18 russell        Description Updated                          
2010-03-23 11:18 russell        Additional Information Updated                  
 
======================================================================




More information about the asterisk-bugs mailing list