[PATCH 0/3] bloom-related leak fixes
- From
Jeff King <peff@peff.net>
- Date
- Jul 1, 2026, 06:35 UTC
- Message-ID
- <20260701063538.GA2579765@coredump.intra.peff.net>
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/20260630064301.GB3733961@coredump.intra.peff.net/
and Kaartic's pending fix from this thread:
https://lore.kernel.org/git/20260614141600.620272-1-kaartic.sivaraam@gmail.com/
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