Skip to content

a few format-patch leak fixes

Jeff King git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2format-patch: free rev.message_id when exitingbuiltin/log.c t/t9001-send-email.sh+2 -10 replies
2/2format-patch: free elements of rev.ref_message_ids listbuiltin/log.c+7 -73 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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