Code

[PATCH] git-local-fetch: Fix error checking and leak in setup_indices()
authorSergey Vlasov <vsu@altlinux.ru>
Fri, 23 Sep 2005 12:28:23 +0000 (16:28 +0400)
committerJunio C Hamano <junkio@cox.net>
Fri, 23 Sep 2005 21:30:45 +0000 (14:30 -0700)
commit8be707de55e473a5d850a1fcdc6e30589a37d548
tree803fd8b2299dbc3cd8b430c3f9fbed2bd379aeb4
parentd35bbe0b2e3765639c23978783a5319dfad33992
[PATCH] git-local-fetch: Fix error checking and leak in setup_indices()

setup_indices() did not check the return value of opendir(), and
did not have a corresponding closedir() call.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Junio C Hamano <junkio@cox.net>
local-fetch.c