Fix EAGI fd leak (bug #698)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1883 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-12-27 23:39:57 +00:00
parent e9186caa33
commit b7bd21bc0a

View File

@@ -167,6 +167,10 @@ static int launch_script(char *script, char *args, int *fds, int *efd, int *opid
/* close what we're not using in the parent */
close(toast[1]);
close(fromast[0]);
// [PHM 12/18/03]
close(audio[0])
*opid = pid;
return 0;