mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 02:48:29 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user