[Home]

Summary:ASTERISK-08153: Potential memory leak in transmit_response_using_temp
Reporter:Ben Hutchings (benh)Labels:
Date Opened:2006-11-18 19:36:13.000-0600Date Closed:2006-11-20 10:18:24.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The recently-introduced transmit_response_using_temp() function fakes up a temporary context (sip_pvt) and doesn't do anything to clean it up.

If recordhistory is set, the call to __sendresponse() may result in allocating history entries linked to the sip_pvt structure. I think these should be freed by transmit_response_using_temp() before it returns.
Comments:By: Joshua C. Colp (jcolp) 2006-11-20 10:18:24.000-0600

Fixed in 1.2 as of revision 47855. Thanks!