projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acc075a
)
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
diff --git
a/http-fetch.c
b/http-fetch.c
index
99b6cc7
..
b8aa965
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);