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

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Sep 19 11:06:12 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
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:                     closed
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 11:06 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
====================================================================== 

---------------------------------------------------------------------- 
 (0127114) svnbot (reporter) - 2010-09-19 11:06
 https://issues.asterisk.org/view.php?id=17891#c127114 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 287470

_U  branches/1.6.2/
U   branches/1.6.2/main/manager.c

------------------------------------------------------------------------
r287470 | oej | 2010-09-19 11:06:11 -0500 (Sun, 19 Sep 2010) | 14 lines

Merged revisions 287469 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r287469 | oej | 2010-09-19 17:56:50 +0200 (S?\195?\182n, 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=287470 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-19 11:06 svnbot         Checkin                                      
2010-09-19 11:06 svnbot         Note Added: 0127114                          
======================================================================




More information about the asterisk-bugs mailing list