Git Mailing List Archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] a few format-patch leak fixes
@ 2023-05-19  0:02 Jeff King
  2023-05-19  0:03 ` [PATCH 1/2] format-patch: free rev.message_id when exiting Jeff King
  2023-05-19  0:05 ` [PATCH 2/2] format-patch: free elements of rev.ref_message_ids list Jeff King
  0 siblings, 2 replies; 6+ messages in thread
From: Jeff King @ 2023-05-19  0:02 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-05-19 16:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-19  0:02 [PATCH 0/2] a few format-patch leak fixes Jeff King
2023-05-19  0:03 ` [PATCH 1/2] format-patch: free rev.message_id when exiting Jeff King
2023-05-19  0:05 ` [PATCH 2/2] format-patch: free elements of rev.ref_message_ids list Jeff King
2023-05-19  1:32   ` Junio C Hamano
2023-05-19 14:54   ` Konstantin Khomoutov
2023-05-19 16:56     ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).