[asterisk-commits] russell: branch 1.4 r195020 - /branches/1.4/main/manager.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon May 18 07:57:51 CDT 2009
Author: russell
Date: Mon May 18 07:57:46 2009
New Revision: 195020
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=195020
Log:
Don't try to unlock a bogus channel.
(closes issue #15144)
Reported by: cristiandimache
Modified:
branches/1.4/main/manager.c
Modified: branches/1.4/main/manager.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.4/main/manager.c?view=diff&rev=195020&r1=195019&r2=195020
==============================================================================
--- branches/1.4/main/manager.c (original)
+++ branches/1.4/main/manager.c Mon May 18 07:57:46 2009
@@ -1550,6 +1550,7 @@
if (c) {
ast_func_read(c, copy, workspace, sizeof(workspace));
ast_channel_free(c);
+ c = NULL;
} else
ast_log(LOG_ERROR, "Unable to allocate bogus channel for variable substitution. Function results may be blank.\n");
} else
More information about the asterisk-commits
mailing list