[svn-commits] trunk r37896 - /trunk/http.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue Jul 18 13:26:38 MST 2006


Author: markster
Date: Tue Jul 18 15:26:38 2006
New Revision: 37896

URL: http://svn.digium.com/view/asterisk?rev=37896&view=rev
Log:
Eliminate file descriptor leak in built in HTTP server

Modified:
    trunk/http.c

Modified: trunk/http.c
URL: http://svn.digium.com/view/asterisk/trunk/http.c?rev=37896&r1=37895&r2=37896&view=diff
==============================================================================
--- trunk/http.c (original)
+++ trunk/http.c Tue Jul 18 15:26:38 2006
@@ -153,6 +153,7 @@
 			goto out403;
 		}
 	}
+	close(fd);
 	return blob;
 
 out404:



More information about the svn-commits mailing list