Fix EAGI fd leak (bug #698)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1883 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Mark Spencer 22 years ago
parent e9186caa33
commit b7bd21bc0a

@ -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;

Loading…
Cancel
Save