[asterisk-bugs] [Asterisk 0011163]: [patch] free config structure while exiting on error.

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Nov 5 11:19:15 CST 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11163 
====================================================================== 
Reported By:                eliel
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   11163
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 88584 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-05-2007 11:03 CST
Last Modified:              11-05-2007 11:19 CST
====================================================================== 
Summary:                    [patch] free config structure while exiting on
error.
Description: 
cfg = ast_config_load()
use ast_config_destroy() when you return from reload_config() (on success
or on error).
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 11-05-07 11:19  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 88586

_U  trunk/
U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r88586 | qwell | 2007-11-05 11:19:14 -0600 (Mon, 05 Nov 2007) | 13 lines

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

(closes issue http://bugs.digium.com/view.php?id=11163)
........
r88585 | qwell | 2007-11-05 11:19:41 -0600 (Mon, 05 Nov 2007) | 4 lines

Make sure we destroy the config structure on configuration failure.

Issue 11163, patch by eliel.

........

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-05-07 11:19  svnbot         Checkin                                      
11-05-07 11:19  svnbot         Note Added: 0073114                          
11-05-07 11:19  svnbot         Status                   new => assigned     
11-05-07 11:19  svnbot         Assigned To               => qwell           
======================================================================




More information about the asterisk-bugs mailing list