diff options
Diffstat (limited to 'builtin-send-pack.c')
-rw-r--r-- | builtin-send-pack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin-send-pack.c b/builtin-send-pack.c index 8afb1d0bca..ba9bc91a5c 100644 --- a/builtin-send-pack.c +++ b/builtin-send-pack.c @@ -71,6 +71,7 @@ static int pack_objects(int fd, struct ref *refs) refs = refs->next; } + close(po.in); if (finish_command(&po)) return error("pack-objects died with strange error"); return 0; |