[asterisk-bugs] [Asterisk 0011507]: [patch] free already allocated datastore on error.

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Dec 11 13:48:43 CST 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11507 
====================================================================== 
Reported By:                eliel
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   11507
Category:                   Core-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!): 92242 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             12-10-2007 14:26 CST
Last Modified:              12-11-2007 13:48 CST
====================================================================== 
Summary:                    [patch] free already allocated datastore on error.
Description: 
This patch was made in theory, I couldn't test it, but I think its ok.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 12-11-07 13:48  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 92363

U   branches/1.4/main/global_datastores.c

------------------------------------------------------------------------
r92363 | file | 2007-12-11 13:48:41 -0600 (Tue, 11 Dec 2007) | 6 lines

Fix potential memory leak with the dialed interfaces list if another
memory allocation fails.
(closes issue http://bugs.digium.com/view.php?id=11507)
Reported by: eliel
Patches:
      global_datastores.c.patch uploaded by eliel (license 64)

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-11-07 13:48  svnbot         Checkin                                      
12-11-07 13:48  svnbot         Note Added: 0075232                          
12-11-07 13:48  svnbot         Status                   new => assigned     
12-11-07 13:48  svnbot         Assigned To               => file            
======================================================================




More information about the asterisk-bugs mailing list