File fastcgi-2.4.0_missing_call_to_fclose.patch of Package FastCGI.3897

Index: cgi-fcgi/cgi-fcgi.c
===================================================================
--- cgi-fcgi/cgi-fcgi.c.orig	2009-09-17 18:14:16.000000000 +0200
+++ cgi-fcgi/cgi-fcgi.c	2009-09-17 18:19:16.139029013 +0200
@@ -651,6 +651,7 @@ static int ParseArgs(int argc, char *arg
 			tp1 = tp2;
 		    }
 		}
+		fclose(fp);
 		err = ParseArgs(ac, av, doBindPtr, doStartPtr,
                         connectPathPtr, appPathPtr, nServersPtr, doDaemonPtr);
 		for(x = 1; x < ac; x++) {
openSUSE Build Service is sponsored by