[asterisk-bugs] [Asterisk 0014833]: [patch] memory leak in some part of code

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Apr 6 06:02:16 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14833 
====================================================================== 
Reported By:                contactmayankjain
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14833
Category:                   Addons/General
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0.6 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-04-06 05:38 CDT
Last Modified:              2009-04-06 06:02 CDT
====================================================================== 
Summary:                    [patch] memory leak  in some part of code
Description: 
Memory leak are present in some part of the asterisk code. This have been
tested by using tool cppcheck 
 cppcheck -a -j 3 -q -f --style asterisk/

At some of the places NULL is check before deleting memory which is 
Redundant condition. It is safe to deallocate a NULL pointer. 
http://www.mail-archive.com/asterisk-dev@lists.digium.com/msg36740.html
====================================================================== 

---------------------------------------------------------------------- 
 (0102766) contactmayankjain (reporter) - 2009-04-06 06:02
 http://bugs.digium.com/view.php?id=14833#c102766 
---------------------------------------------------------------------- 
Have attached a small patch file for this. Will continue with resolving
more issue as time allows. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-06 06:02 contactmayankjainNote Added: 0102766                          
======================================================================




More information about the asterisk-bugs mailing list