[asterisk-bugs] [Asterisk 0011355]: [patch] Missing sched_context_destroy() in ast_channel_alloc() error condition.

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Nov 26 09:32:08 CST 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11355 
====================================================================== 
Reported By:                eliel
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   11355
Category:                   Core-General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 89529 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-22-2007 21:25 CST
Last Modified:              11-26-2007 09:32 CST
====================================================================== 
Summary:                    [patch] Missing sched_context_destroy() in
ast_channel_alloc() error condition.
Description: 
There is a missing free (sched_context_destroy()) if a channel alloc fails
while trying to create a pipe.

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

---------------------------------------------------------------------- 
 svnbot - 11-26-07 09:32  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 89577

U   branches/1.4/main/channel.c

------------------------------------------------------------------------
r89577 | file | 2007-11-26 09:32:08 -0600 (Mon, 26 Nov 2007) | 6 lines

If channel allocation fails because the alert pipe could not be created
also free the scheduler context.
(closes issue http://bugs.digium.com/view.php?id=11355)
Reported by: eliel
Patches:
      main.channel.c.patch uploaded by eliel (license 64)

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-26-07 09:32  svnbot         Checkin                                      
11-26-07 09:32  svnbot         Note Added: 0074317                          
11-26-07 09:32  svnbot         Status                   new => assigned     
11-26-07 09:32  svnbot         Assigned To               => file            
======================================================================




More information about the asterisk-bugs mailing list