[PATCH 0/2] commit: trivial leak fix, add 2 tests to linux-leaks CI
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Feb 16, 2022, 08:21 UTC
- Message-ID
- <cover-0.2-00000000000-20220216T081844Z-avarab@gmail.com>
This trivial series fixes a leak in "git commit", removes two UNLEAK() in favor of simply calling strbuf_release(), and marks two tests that previously hit that UNLEAK() being run in the linux-leaks CI job.
Ævar Arnfjörð Bjarmason (2): commit: fix "author_ident" leak commit: use strbuf_release() instead of UNLEAK()
builtin/commit.c | 13 ++++++++----- t/t2203-add-intent.sh | 1 + t/t7011-skip-worktree-reading.sh | 1 + 3 files changed, 10 insertions(+), 5 deletions(-)
-- 2.35.1.1028.g2d2d4be19de