Summary: | ASTERISK-10866: [patch] Missing sched_context_destroy() in ast_channel_alloc() error condition. | ||
Reporter: | Eliel Sardanons (eliel) | Labels: | |
Date Opened: | 2007-11-22 21:25:57.000-0600 | Date Closed: | 2007-11-26 09:33:57.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) main.channel.c.patch | |
Description: | There is a missing free (sched_context_destroy()) if a channel alloc fails while trying to create a pipe. | ||
Comments: | By: Digium Subversion (svnbot) 2007-11-26 09:32:08.000-0600 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 ASTERISK-10866) Reported by: eliel Patches: main.channel.c.patch uploaded by eliel (license 64) ------------------------------------------------------------------------ By: Digium Subversion (svnbot) 2007-11-26 09:33:57.000-0600 Repository: asterisk Revision: 89578 _U trunk/ U trunk/main/channel.c ------------------------------------------------------------------------ r89578 | file | 2007-11-26 09:33:56 -0600 (Mon, 26 Nov 2007) | 14 lines Merged revisions 89577 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89577 | file | 2007-11-26 11:34:38 -0400 (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 ASTERISK-10866) Reported by: eliel Patches: main.channel.c.patch uploaded by eliel (license 64) ........ ------------------------------------------------------------------------ |