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

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jun 4 13:30:46 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:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             02-13-2008 19:27 CST
Last Modified:              06-04-2008 13:30 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.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 06-04-08 13:30  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 120426

_U  trunk/
U   trunk/channels/chan_zap.c

------------------------------------------------------------------------
r120426 | tilghman | 2008-06-04 13:30:41 -0500 (Wed, 04 Jun 2008) | 14
lines

Merged revisions 120425 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r120425 | tilghman | 2008-06-04 13:35:47 -0500 (Wed, 04 Jun 2008) | 6
lines

If we fail to setup the PRI request channel, don't continue, exit with an
error.
(closes issue http://bugs.digium.com/view.php?id=11989)
 Reported by: Corydon76
 Patches: 
       20080213__zap_memleak.diff.txt uploaded by Corydon76 (license 14)

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=120426 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-04-08 13:30  svnbot         Checkin                                      
06-04-08 13:30  svnbot         Note Added: 0087823                          
======================================================================




More information about the asterisk-bugs mailing list