[asterisk-bugs] [Asterisk 0014795]: unfreed memory in ast_frdup() in frame.c

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Mar 31 14:27:32 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14795 
====================================================================== 
Reported By:                caspy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14795
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
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-03-31 14:27 CDT
Last Modified:              2009-03-31 14:27 CDT
====================================================================== 
Summary:                    unfreed memory in ast_frdup() in frame.c
Description: 
*CLI> memory show summary frame.c
     48504 bytes in 3 allocations in function 'ast_smoother_new' of
'frame.c'
    829988 bytes (    829988 cache) in 3795 allocations in function
'ast_frdup' of 'frame.c'
878492 bytes allocated (829988 in caches) in 3798 allocations


# rasterisk -x 'memory show allocations frame.c' | sort | uniq -c | sort
-rn
   1802        128 bytes allocated (cache) in            ast_frdup at line
  461 of frame.c
   1747        299 bytes allocated (cache) in            ast_frdup at line
  461 of frame.c
    215        292 bytes allocated (cache) in            ast_frdup at line
  461 of frame.c
     30        458 bytes allocated (cache) in            ast_frdup at line
  461 of frame.c
      3      16168 bytes allocated in     ast_smoother_new at line   140
of frame.c
      1 878492 bytes allocated (829988 in caches) in 3798 allocations
      1        459 bytes allocated (cache) in            ast_frdup at line
  461 of frame.c


asterisk is idle, uptime ~35h, 66824 processed calls

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-31 14:27 caspy          New Issue                                    
2009-03-31 14:27 caspy          Asterisk Version          => 1.6.0.6         
2009-03-31 14:27 caspy          Regression                => No              
2009-03-31 14:27 caspy          SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list