From 963319d8071d0658b2365bbe69429bec3886c17b Mon Sep 17 00:00:00 2001
From: Tilghman Lesher <tilghman@meg.abyt.es>
Date: Fri, 8 Jan 2010 22:17:03 +0000
Subject: [PATCH] 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
---
 res/res_agi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/res/res_agi.c b/res/res_agi.c
index 154ac47894..da4ebe8af5 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 */
-- 
GitLab