https://origsvn.digium.com/svn/asterisk/trunk
................
r195021 | russell | 2009-05-18 07:59:11 -0500 (Mon, 18 May 2009) | 12 lines
Recorded merge of revisions 195020 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r195020 | russell | 2009-05-18 07:57:46 -0500 (Mon, 18 May 2009) | 5 lines
Don't try to unlock a bogus channel.
(closes issue #15144)
Reported by: cristiandimache
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@195023
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
if (c) {
ast_func_read(c, (char *) varname, 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