Merge branch 'ps/leakfixes-part-3' into ps/leakfixes-part-4
commit90b801d8ff469654900f51ba9cfe8e779039ce7d
authorJunio C Hamano <gitster@pobox.com>
Tue, 6 Aug 2024 19:40:41 +0000 (6 12:40 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 Aug 2024 19:40:41 +0000 (6 12:40 -0700)
treef11e523b3bdf613be0ca592a20be325f3712cb61
parent406f326d271e0bacecdb00425422c5fa3f314930
parentf30bfafcd41d0f13575361957dc361aa2be4d4c5
Merge branch 'ps/leakfixes-part-3' into ps/leakfixes-part-4

* ps/leakfixes-part-3: (24 commits)
  commit-reach: fix trivial memory leak when computing reachability
  convert: fix leaking config strings
  entry: fix leaking pathnames during delayed checkout
  object-name: fix leaking commit list items
  t/test-repository: fix leaking repository
  builtin/credential-cache: fix trivial leaks
  builtin/worktree: fix leaking derived branch names
  builtin/shortlog: fix various trivial memory leaks
  builtin/rerere: fix various trivial memory leaks
  builtin/credential-store: fix leaking credential
  builtin/show-branch: fix several memory leaks
  builtin/rev-parse: fix memory leak with `--parseopt`
  builtin/stash: fix various trivial memory leaks
  builtin/remote: fix various trivial memory leaks
  builtin/remote: fix leaking strings in `branch_list`
  builtin/ls-remote: fix leaking `pattern` strings
  builtin/submodule--helper: fix leaking buffer in `is_tip_reachable`
  builtin/submodule--helper: fix leaking clone depth parameter
  builtin/name-rev: fix various trivial memory leaks
  builtin/describe: fix trivial memory leak when describing blob
  ...
builtin/replay.c
builtin/stash.c