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

[PATCH 0/2] a few format-patch leak fixes

From
Jeff King <peff@peff.net>
Date
May 19, 2023, 00:02 UTC
Message-ID
<20230519000239.GA1975039@coredump.intra.peff.net>

I got bit earlier by the leak-checker complaining about an old leak on jc/send-email-pre-process-fix, so I started to poke at the code. I see that you since silenced it via 20bd08aefb (t9001: mark the script as no longer leak checker clean, 2023-05-17).

I think that's an OK solution for the release period. But since I dug into the actual leak, I didn't want those fixes to go to waste. :)

So these can be applied at our leisure post-release, though I think the first one could also be taken independently, and is enough to fix t9001 (obviously we could also take them both, but the first one is the less risky of the two, since we're in an -rc period).

  [1/2]: format-patch: free rev.message_id when exiting
  [2/2]: format-patch: free elements of rev.ref_message_ids list
 builtin/log.c         | 15 ++++++++-------
 t/t9001-send-email.sh |  2 +-
 2 files changed, 9 insertions(+), 8 deletions(-)
-Peff
Next: Jeff King
Message 1 of 6 in “a few format-patch leak fixes”
  1. 0/2 a few format-patch leak fixesJeff King, May 19, 2023
  2. 1/2 format-patch: free rev.message_id when exitingJeff King, May 19, 2023
  3. 2/2 format-patch: free elements of rev.ref_message_ids listJeff King, May 19, 2023
  4. Junio C HamanoMay 19, 2023
  5. Konstantin KhomoutovMay 19, 2023
  6. Junio C HamanoMay 19, 2023

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.