Re: [PATCH 04/15] update-index: fix a memleak

2015-03-20 Thread Junio C Hamano
Stefan Beller writes: > `old` is not used outside the loop and would get lost > once we reach the goto. > > Signed-off-by: Stefan Beller > --- > builtin/update-index.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/builtin/update-index.c b/builtin/update-index.c > index 5878986..6271b

[PATCH 04/15] update-index: fix a memleak

2015-03-20 Thread Stefan Beller
`old` is not used outside the loop and would get lost once we reach the goto. Signed-off-by: Stefan Beller --- builtin/update-index.c | 1 + 1 file changed, 1 insertion(+) diff --git a/builtin/update-index.c b/builtin/update-index.c index 5878986..6271b54 100644 --- a/builtin/update-index.c +++