Re: [PATCH 2/2] read-cache.c: fix a memleak in add_to_index

2015-03-23 Thread Junio C Hamano
Stefan Beller writes: > Signed-off-by: Stefan Beller > --- > > I have reread your remarks from the weekend, and I agree > this looks more intuitive. Thanks for pointing out the subtle details > to make programming an art! Heh, Our mails crossed, I guess. I've done this myself like this --

[PATCH 2/2] read-cache.c: fix a memleak in add_to_index

2015-03-23 Thread Stefan Beller
Signed-off-by: Stefan Beller --- I have reread your remarks from the weekend, and I agree this looks more intuitive. Thanks for pointing out the subtle details to make programming an art! read-cache.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/read-cach