Merge branch 'ps/leakfixes-part-9'
commit6890c99e38c378c2fff7747b52bd2102b403357d
authorJunio C Hamano <gitster@pobox.com>
Tue, 12 Nov 2024 23:35:30 +0000 (13 08:35 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Nov 2024 23:35:31 +0000 (13 08:35 +0900)
tree98d69bfd5256984c561ee7f3832ba04a283863ae
parentb31fb630c0fc6869a33ed717163e8a1210460d94
parentc810549be1dd31e1a0a1de5060a519a461533564
Merge branch 'ps/leakfixes-part-9'

More leakfixes.

* ps/leakfixes-part-9: (22 commits)
  list-objects-filter-options: work around reported leak on error
  builtin/merge: release output buffer after performing merge
  dir: fix leak when parsing "status.showUntrackedFiles"
  t/helper: fix leaking buffer in "dump-untracked-cache"
  t/helper: stop re-initialization of `the_repository`
  sparse-index: correctly free EWAH contents
  dir: release untracked cache data
  combine-diff: fix leaking lost lines
  builtin/tag: fix leaking key ID on failure to sign
  transport-helper: fix leaking import/export marks
  builtin/commit: fix leaking cleanup config
  trailer: fix leaking strbufs when formatting trailers
  trailer: fix leaking trailer values
  builtin/commit: fix leaking change data contents
  upload-pack: fix leaking URI protocols
  pretty: clear signature check
  diff-lib: fix leaking diffopts in `do_diff_cache()`
  revision: fix leaking bloom filters
  builtin/grep: fix leak with `--max-count=0`
  grep: fix leak in `grep_splice_or()`
  ...
grep.c
t/t7031-verify-tag-signed-ssh.sh
t/t7513-interpret-trailers.sh
t/t7810-grep.sh