Skip to content

bloom-related leak fixes

Jeff King git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3bloom: make bloom-filter slab initialization idempotentbloom.c+5 -02 replies
2/3revision: avoid leaking bloom keyvecs with multiple traversalsrevision.c+2 -03 replies
3/3line-log: drop extra copy of range with bloom filtersline-log.c+1 -20 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/3] bloom-related leak fixes

Here are a few small leak fixes that only show up when you run the test suite with GIT_TEST_COMMIT_GRAPH_CHANGED_PATHS=1.

Combined with the commit-graph leak-fix here:

https://lore.kernel.org/git/[email protected]/

and Kaartic's pending fix from this thread:

https://lore.kernel.org/git/[email protected]/

This will fix most of the leaks we'd see if we ran linux-TEST-vars jobs with leak-checking. There are a few more related to building with openssl for sha1, but I'll tackle those separately.

[1/3]: bloom: make bloom-filter slab initialization idempotent [2/3]: revision: avoid leaking bloom keyvecs with multiple traversals [3/3]: line-log: drop extra copy of range with bloom filters

 bloom.c    | 5 +++++
 line-log.c | 3 +--
 revision.c | 2 ++
 3 files changed, 8 insertions(+), 2 deletions(-)

-Peff