[asterisk-bugs] [Asterisk 0017432]: Memory Leak : main/manager.c

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jun 1 05:25:50 CDT 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17432 
====================================================================== 
Reported By:                fantiyu
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17432
Category:                   Core/ManagerInterface
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.7 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-06-01 05:25 CDT
Last Modified:              2010-06-01 05:25 CDT
====================================================================== 
Summary:                    Memory Leak : main/manager.c
Description: 
found memory leak yesterday. asterisk-1.6.2.7(released)

main/mamager.c, line 3154, function: do_message:
m.headers[m.hdrcount++] = ast_strdupa(header_buf);

the memory alloced by ast_strdupa are never released, we must release
those before the function returned.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-01 05:25 fantiyu        New Issue                                    
2010-06-01 05:25 fantiyu        Asterisk Version          => 1.6.2.7         
2010-06-01 05:25 fantiyu        Regression                => No              
2010-06-01 05:25 fantiyu        SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list