summaryrefslogtreecommitdiffstats
path: root/commit.c
diff options
context:
space:
mode:
authorSergey Vlasov <vsu@altlinux.ru>2005-09-23 16:28:28 +0400
committerJunio C Hamano <junkio@cox.net>2005-09-23 14:30:45 -0700
commit1a951815ddaa4e4b570cc67e204f45e9a12841e0 (patch)
tree8a44a8e894c6239dd063dcaf841f63e6c35fc9cb /commit.c
parent[PATCH] git-local-fetch: Fix error checking and leak in setup_indices() (diff)
downloadgit-1a951815ddaa4e4b570cc67e204f45e9a12841e0.tar.gz
git-1a951815ddaa4e4b570cc67e204f45e9a12841e0.zip
[PATCH] git-local-fetch: Avoid calling close(-1)
After open() failure, copy_file() called close(ifd) with ifd == -1 (harmless, but causes Valgrind noise). The same thing was possible for the destination file descriptor. Signed-off-by: Sergey Vlasov <vsu@altlinux.ru> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions