Blame SOURCES/libproxy-0.4.11-fdleak.patch

28fc30
diff -up libproxy-0.4.11/libproxy/url.cpp.fdleak libproxy-0.4.11/libproxy/url.cpp
28fc30
--- libproxy-0.4.11/libproxy/url.cpp.fdleak	2013-09-19 08:45:48.718145364 -0400
28fc30
+++ libproxy-0.4.11/libproxy/url.cpp	2013-09-19 08:46:31.374147676 -0400
28fc30
@@ -403,6 +403,7 @@ char* url::get_pac() {
28fc30
 				buffer = NULL;
28fc30
 			}
28fc30
 		}
28fc30
+		close (sock);
28fc30
 		return buffer;
28fc30
 	}
28fc30
 
28fc30
@@ -495,7 +496,7 @@ char* url::get_pac() {
28fc30
 	}
28fc30
 
28fc30
 	// Clean up
28fc30
-	shutdown(sock, SHUT_RDWR);
28fc30
+	close(sock);
28fc30
 	return buffer;
28fc30
 }
28fc30