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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jun 1 08:51:44 CDT 2010


The following issue has been set as RELATED TO issue 0017234. 
====================================================================== 
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 08:51 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.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0017234 [patch] Memory leak in manager.c
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-01 08:51 pabelanger     Relationship added       related to 0017234  
======================================================================




More information about the asterisk-bugs mailing list