git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] remote: plug memory leaks at early returns

From
Patrick Steinhardt <ps@pks.im>
Date
Aug 26, 2024, 05:36 UTC
Message-ID
<ZswUWj_dg7-kM8b0@tanuki>
In-Reply-To
<xmqqseuvndsq.fsf@gitster.g>
On Fri, Aug 23, 2024 at 02:13:09PM -0700, Junio C Hamano wrote:
Show 11 quoted lines
> René Scharfe <l.s.r@web.de> writes:
> 
> > Signed-off-by: René Scharfe <l.s.r@web.de>
> > ---
> >  builtin/remote.c | 23 +++++++++++++++--------
> >  1 file changed, 15 insertions(+), 8 deletions(-)
> 
> Looks straight-forward.  Does this allow us to mark any test script
> as leak-free?  I understand that Patrick has another round of
> leakfixes topic that is not yet published, and I'd prefer to see us
> not step each other's toes.

No, this doesn't conflict with anything I have. And even if it did, I'd be happy to drop some patches from my local series :)

The changes themselves also look good to me, thanks!
Patrick
Previous: René ScharfeNext: Junio C Hamano
Message 4 of 5 in “remote: plug memory leaks at early returns”
  1. remote: plug memory leaks at early returnsRené Scharfe, Aug 23, 2024
  2. Junio C HamanoAug 23, 2024
  3. René ScharfeAug 24, 2024
  4. Patrick SteinhardtAug 26, 2024
  5. Junio C HamanoAug 26, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.