Re: [PATCH 3/4] unpack-trees: plug a memory leak

2013-06-02 Thread Felipe Contreras
On Sun, Jun 2, 2013 at 5:17 PM, Junio C Hamano wrote: > Felipe Contreras writes: > >> On Sun, Jun 2, 2013 at 2:33 PM, Junio C Hamano wrote: >>> Felipe Contreras writes: >>> Before overwriting the destination index, first let's discard it's contents. Signed-off-by: Felipe Con

Re: [PATCH 3/4] unpack-trees: plug a memory leak

2013-06-02 Thread Junio C Hamano
Felipe Contreras writes: > On Sun, Jun 2, 2013 at 2:33 PM, Junio C Hamano wrote: >> Felipe Contreras writes: >> >>> Before overwriting the destination index, first let's discard it's >>> contents. >>> >>> Signed-off-by: Felipe Contreras >>> --- >>> unpack-trees.c | 4 +++- >>> 1 file changed,

Re: [PATCH 3/4] unpack-trees: plug a memory leak

2013-06-02 Thread Felipe Contreras
On Sun, Jun 2, 2013 at 2:33 PM, Junio C Hamano wrote: > Felipe Contreras writes: > >> Before overwriting the destination index, first let's discard it's >> contents. >> >> Signed-off-by: Felipe Contreras >> --- >> unpack-trees.c | 4 +++- >> 1 file changed, 3 insertions(+), 1 deletion(-) >> >>

Re: [PATCH 3/4] unpack-trees: plug a memory leak

2013-06-02 Thread Junio C Hamano
Felipe Contreras writes: > Before overwriting the destination index, first let's discard it's > contents. > > Signed-off-by: Felipe Contreras > --- > unpack-trees.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/unpack-trees.c b/unpack-trees.c > index ede4299..eff29

[PATCH 3/4] unpack-trees: plug a memory leak

2013-05-30 Thread Felipe Contreras
Before overwriting the destination index, first let's discard it's contents. Signed-off-by: Felipe Contreras --- unpack-trees.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/unpack-trees.c b/unpack-trees.c index ede4299..eff2944 100644 --- a/unpack-trees.c +++ b/unpack-t