[Asterisk-cvs] asterisk/pbx pbx_ael.c,1.17,1.18
kpfleming
kpfleming
Thu Nov 10 18:38:09 CST 2005
Update of /usr/cvsroot/asterisk/pbx
In directory mongoose.digium.com:/tmp/cvs-serv10049/pbx
Modified Files:
pbx_ael.c
Log Message:
issue #5701
Index: pbx_ael.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx/pbx_ael.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- pbx_ael.c 8 Nov 2005 01:55:30 -0000 1.17
+++ pbx_ael.c 10 Nov 2005 23:28:55 -0000 1.18
@@ -966,6 +966,7 @@
}
} else
ast_log(LOG_WARNING, "Unable to create context '%s'\n", name);
+ arg_free(paramv);
arg_free(argv);
if (vars->next)
ast_log(LOG_NOTICE, "Ignoring excess tokens in macro definition around line %d of %s!\n", lineno, filename);
@@ -1013,7 +1014,6 @@
static void handle_context(struct ast_context **local_contexts, struct stringlink *vars, const char *filename, int lineno)
{
struct stringlink *argv;
- struct stringlink *paramv;
struct stringlink *cur2;
struct stringlink *argv2;
struct stringlink *cur;
@@ -1026,7 +1026,6 @@
if (aeldebug & DEBUG_CONTEXTS)
ast_verbose("Root context def is '%s'\n", vars->data);
argv = split_token(vars->data, filename, lineno);
- paramv = split_params(vars->data, filename, lineno);
if (aeldebug & DEBUG_CONTEXTS)
ast_verbose("Found context '%s'\n", vars->data);
snprintf(name, sizeof(name), "%s", vars->data);
More information about the svn-commits
mailing list