[asterisk-bugs] [Asterisk 0013452]: skinny memory leak

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Sep 10 18:17:20 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13452 
====================================================================== 
Reported By:                pj
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   13452
Category:                   Channels/chan_skinny
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 141949 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-09-10 04:31 CDT
Last Modified:              2008-09-10 18:17 CDT
====================================================================== 
Summary:                    skinny memory leak
Description: 
memory allocations continuously growing,
asterisk has only two idle 7920 phones during monitoring period,
no skinny calls during this time window (about 15hours), 
perhaps some leak in keepalives handling?

  176148 bytes in 3284 allocations in file 'chan_skinny.c'
  307800 bytes in 7523 allocations in file 'chan_skinny.c'






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

---------------------------------------------------------------------- 
 (0092325) wedhorn (reporter) - 2008-09-10 18:17
 http://bugs.digium.com/view.php?id=13452#c92325 
---------------------------------------------------------------------- 
Looks like we don't free req after it is transmitted. A simple free(req) at
the end of transmit_response will probably fix most of the problem,
although will need to check all the other transmit_ stuff that it doesn't
return without calling transmit_response. Will have a play when I get home. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-10 18:17 wedhorn        Note Added: 0092325                          
======================================================================




More information about the asterisk-bugs mailing list