summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2010-01-08 22:17:03 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2010-01-08 22:17:03 +0000
commit963319d8071d0658b2365bbe69429bec3886c17b (patch)
tree145b3acfe3af8dfcd3422ef208e460752eea3868 /res
parentf92938ff679869174ed11b8f8d131106d3a2b1e9 (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: https://origsvn.digium.com/svn/asterisk/trunk@238754 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res')
-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 */