[patch] git: fix memory leak #2 in checkout-cache.c