From: Junio C Hamano Date: Tue, 11 May 2021 03:29:43 GMT Subject: Re: [PATCH v2 0/1] maintenance: fix two memory leaks Message-ID: In-Reply-To: <20210510195909.621534-1-lenaic@lhuard.fr> Lénaïc Huard writes: > Hi! > > Thank you for the code review. > > I’ve moved the `strbuf_release(&line);` closer to the last point where > `line` is used. > > And I’ve included Junio’s patch to address the missing > `free(local_path)` when `hold_lock_file_for_update()<0`. > > Lénaïc Huard (1): > maintenance: fix two memory leaks > > builtin/gc.c | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) Thanks, will queue.