diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-12-27 23:39:57 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-12-27 23:39:57 +0000 |
commit | ea969ff1fbbf0591d82f159415089bc11119d490 (patch) | |
tree | 78935292172c16d5f3fddd31863de2ff297a4344 /apps/app_agi.c | |
parent | e31086ae2b7d2780462a7a7d4ac79bf265debdc6 (diff) |
Fix EAGI fd leak (bug #698)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1883 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_agi.c')
-rwxr-xr-x | apps/app_agi.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/app_agi.c b/apps/app_agi.c index 57e37e22b..8ca56f42a 100755 --- a/apps/app_agi.c +++ b/apps/app_agi.c @@ -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; |