[asterisk-commits] file: trunk r89578 - in /trunk: ./ main/channel.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Nov 26 09:36:27 CST 2007
Author: file
Date: Mon Nov 26 09:36:27 2007
New Revision: 89578
URL: http://svn.digium.com/view/asterisk?view=rev&rev=89578
Log:
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 #11355)
Reported by: eliel
Patches:
main.channel.c.patch uploaded by eliel (license 64)
........
Modified:
trunk/ (props changed)
trunk/main/channel.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/main/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/main/channel.c?view=diff&rev=89578&r1=89577&r2=89578
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Mon Nov 26 09:36:27 2007
@@ -673,6 +673,7 @@
if (needqueue) {
if (pipe(tmp->alertpipe)) {
ast_log(LOG_WARNING, "Channel allocation failed: Can't create alert pipe!\n");
+ sched_context_destroy(tmp->sched);
ast_string_field_free_memory(tmp);
ast_free(tmp);
return NULL;
More information about the asterisk-commits
mailing list