[asterisk-commits] tilghman: trunk r238754 - /trunk/res/res_agi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jan 8 16:17:08 CST 2010


Author: tilghman
Date: Fri Jan  8 16:17:03 2010
New Revision: 238754

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=238754
Log:
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

Modified:
    trunk/res/res_agi.c

Modified: trunk/res/res_agi.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_agi.c?view=diff&rev=238754&r1=238753&r2=238754
==============================================================================
--- trunk/res/res_agi.c (original)
+++ trunk/res/res_agi.c Fri Jan  8 16:17:03 2010
@@ -1235,6 +1235,7 @@
 	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 */




More information about the asterisk-commits mailing list