aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-01-08 22:17:03 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-01-08 22:17:03 +0000
commitf4f0e41dab7a56e79eaa45e700df9e9a3f577f2f (patch)
tree145b3acfe3af8dfcd3422ef208e460752eea3868
parent5a1f5ca5dfa137b1fbadca8eb9a43845ae268ed1 (diff)
Initialize variables that we attempt to free later.
(closes issue #16302) Reported by: yahsyn Patches: 20091124__issue16302.diff.txt uploaded by tilghman (license 14) Tested by: yahsyn git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238754 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--res/res_agi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_agi.c b/res/res_agi.c
index 154ac4789..da4ebe8af 100644
--- a/res/res_agi.c
+++ b/res/res_agi.c
@@ -1235,6 +1235,7 @@ static enum agi_result launch_asyncagi(struct ast_channel *chan, char *argv[], i
async_agi.ctrl = fds[1];
async_agi.audio = -1; /* no audio support */
async_agi.fast = 0;
+ async_agi.speech = NULL;
/* notify possible manager users of a new channel ready to
receive commands */