[asterisk-bugs] [Asterisk 0011989]: [patch] possible memory leak while allocating PRI channels

noreply at bugs.digium.com noreply at bugs.digium.com
Thu May 1 16:12:56 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11989 
====================================================================== 
Reported By:                Corydon76
Assigned To:                markster
====================================================================== 
Project:                    Asterisk
Issue ID:                   11989
Category:                   Channels/chan_zap
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 103664 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             02-13-2008 19:27 CST
Last Modified:              05-01-2008 16:12 CDT
====================================================================== 
Summary:                    [patch] possible memory leak while allocating PRI
channels
Description: 
While investigating another issue, I found what appears to be a memory leak
and bad behavior, when a particular allocation in chan_zap fails.
====================================================================== 

---------------------------------------------------------------------- 
 qwell - 05-01-08 16:12  
---------------------------------------------------------------------- 
What might make things easier here, would be to move the pri_sr_new() call
to before pri_new_call(), and then just add the return -1.

Thoughts? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-01-08 16:12  qwell          Note Added: 0086287                          
======================================================================




More information about the asterisk-bugs mailing list