diff --git a/builtin-fetch.c b/builtin-fetch.c
index 320e235682340f07cb28b0a4de0c39b6bd9da383..ac335f20feba9a9e68098c9e89d69cf61c1c3ed7 100644 (file)
--- a/builtin-fetch.c
+++ b/builtin-fetch.c
free_refs(fetch_map);
+ transport_disconnect(transport);
+
return 0;
}