Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Fix fd leak in http-fetch
author
Nick Hengeveld
<nickh@reactrix.com>
Sat, 12 Nov 2005 17:38:28 +0000
(09:38 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Sun, 13 Nov 2005 07:43:11 +0000
(23:43 -0800)
Added a call to finish_request to clean up resources if the server
returned a 404 and there are no alternates left to try.
Signed-off-by: Nick Hengeveld <nickh@reactrix.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
http-fetch.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
acc075a
)
diff --git
a/http-fetch.c
b/http-fetch.c
index 99b6cc7e419f14c3678282725c6a03de3d8947ec..b8aa965ea32f2956fc162d0a3cee9923808e165f 100644
(file)
--- a/
http-fetch.c
+++ b/
http-fetch.c
@@
-632,6
+632,8
@@
static void process_curl_messages(void)
request->repo =
request->repo->next;
start_request(request);
+ } else {
+ finish_request(request);
}
} else {
finish_request(request);