[Asterisk-cvs] asterisk/apps app_agi.c,1.22,1.23

markster at lists.digium.com markster at lists.digium.com
Sat Dec 27 17:48:21 CST 2003


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv6817/apps

Modified Files:
	app_agi.c 
Log Message:
Fix EAGI fd leak (bug #698)


Index: app_agi.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_agi.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- app_agi.c	5 Nov 2003 23:43:31 -0000	1.22
+++ app_agi.c	27 Dec 2003 23:39:57 -0000	1.23
@@ -167,6 +167,10 @@
 	/* 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;
 		




More information about the svn-commits mailing list