oops
authorKevin P. Fleming <kpfleming@digium.com>
Mon, 26 Sep 2005 19:31:03 +0000 (19:31 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Mon, 26 Sep 2005 19:31:03 +0000 (19:31 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6665 65c4cc65-6c06-0410-ace0-fbb531ad65f3

pbx.c

diff --git a/pbx.c b/pbx.c
index 03e7cb8..6f56cfe 100755 (executable)
--- a/pbx.c
+++ b/pbx.c
@@ -1387,8 +1387,8 @@ static void pbx_substitute_variables_helper_full(struct ast_channel *c, struct v
        char *cp4;
        const char *tmp, *whereweare;
        int length;
-       char *workspace;
-       char *ltmp, *var;
+       char *workspace = NULL;
+       char *ltmp = NULL, *var = NULL;
        char *nextvar, *nextexp, *nextthing;
        char *vars, *vare;
        int pos, brackets, needsub, len;