Fix fd leak in http-fetch
authorNick Hengeveld <nickh@reactrix.com>
Sat, 12 Nov 2005 17:38:28 +0000 (09:38 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 13 Nov 2005 07:43:11 +0000 (23:43 -0800)
commit54a9ba0d44c37c43670087793bfeb1b54d718cdb
treeeb74d2b84f16a92b38fe86749f568702e29c6383
parentacc075a8ad5ee798c170fc2276e1c840a03b5fa4
Fix fd leak in http-fetch

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