[asterisk-bugs] [Asterisk 0013230]: [patch] Free ast_config structure on memory allocation error.

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 4 11:25:48 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13230 
====================================================================== 
Reported By:                eliel
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   13230
Category:                   Resources/General
Reproducibility:            have not tried
Severity:                   tweak
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 135437 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-04 06:48 CDT
Last Modified:              2008-08-04 11:25 CDT
====================================================================== 
Summary:                    [patch] Free ast_config structure on memory
allocation error.
Description: 
Free the ast_config strucuture when getting an error while allocating
memory.

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

---------------------------------------------------------------------- 
 (0091049) svnbot (reporter) - 2008-08-04 11:25
 http://bugs.digium.com/view.php?id=13230#c91049 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 135476

U   trunk/include/asterisk/http.h
U   trunk/main/http.c
U   trunk/res/res_http_post.c

------------------------------------------------------------------------
r135476 | tilghman | 2008-08-04 11:25:46 -0500 (Mon, 04 Aug 2008) | 6
lines

HTTP module memory leaks
(closes issue http://bugs.digium.com/view.php?id=13230)
 Reported by: eliel
 Patches: 
       res_http_post_leak.patch uploaded by eliel (license 64)

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-04 11:25 svnbot         Checkin                                      
2008-08-04 11:25 svnbot         Note Added: 0091049                          
======================================================================




More information about the asterisk-bugs mailing list