]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 238754 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 8 Jan 2010 22:18:00 +0000 (22:18 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 8 Jan 2010 22:18:00 +0000 (22:18 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

........
  r238754 | tilghman | 2010-01-08 16:17:03 -0600 (Fri, 08 Jan 2010) | 7 lines

  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/branches/1.6.0@238758 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_agi.c

index c3be14b43b6db67821aea3f58803a807b510ae0e..d88aabcd852e17a50db957a6627997278de8a55a 100644 (file)
@@ -421,6 +421,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 */