[asterisk-bugs] [Asterisk 0017891]: Possible memory leak in originate

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Sep 19 10:56:51 CDT 2010


The following issue has been RESOLVED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17891 
====================================================================== 
Reported By:                oej
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   17891
Category:                   Core/ManagerInterface
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.4.35 
JIRA:                        
Regression:                 No 
Reviewboard Link:           https://reviewboard.asterisk.org/r/869/ 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-08-20 03:51 CDT
Last Modified:              2010-09-19 10:56 CDT
====================================================================== 
Summary:                    Possible memory leak in originate
Description: 
The originate action can be used with channel variables. These are
allocated, but not freed.

I am working with a patch that 
 - copies variables to the fast-originate thread, so the thread can free
them by itself
 - frees variables at the end of the originate action
====================================================================== 

---------------------------------------------------------------------- 
 (0127113) svnbot (reporter) - 2010-09-19 10:56
 https://issues.asterisk.org/view.php?id=17891#c127113 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 287469

U   branches/1.4/main/manager.c

------------------------------------------------------------------------
r287469 | oej | 2010-09-19 10:56:50 -0500 (Sun, 19 Sep 2010) | 7 lines

Make sure we always free variables properly in manager originate.

(closes issue https://issues.asterisk.org/view.php?id=17891)
reported, solved and tested by oej

Review: https://reviewboard.asterisk.org/r/869/

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=287469 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-19 10:56 svnbot         Note Added: 0127113                          
2010-09-19 10:56 svnbot         Status                   assigned => resolved
2010-09-19 10:56 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list