summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--credential-cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/credential-cache.c b/credential-cache.c
index f4afdc6..86e21de 100644
--- a/credential-cache.c
+++ b/credential-cache.c
@@ -32,6 +32,7 @@ static int send_request(const char *socket, const struct strbuf *out)
write_or_die(1, in, r);
got_data = 1;
}
+ close(fd);
return got_data;
}