]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ps/leakfixes-part-7'
authorJunio C Hamano <gitster@pobox.com>
Wed, 2 Oct 2024 14:46:25 +0000 (07:46 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Oct 2024 14:46:26 +0000 (07:46 -0700)
commit365529e1ea19b44a7a253b780f3ae3a1cb2f081f
tree5a34837f74d165858246b1dd9706b926d7a998e5
parent9293a931868f21029baf55935f2f092c3f06415f
parent12dfc2475ce4808df696fb67fc71a66793f78f06
Merge branch 'ps/leakfixes-part-7'

More leak-fixes.

* ps/leakfixes-part-7: (23 commits)
  diffcore-break: fix leaking filespecs when merging broken pairs
  revision: fix leaking parents when simplifying commits
  builtin/maintenance: fix leak in `get_schedule_cmd()`
  builtin/maintenance: fix leaking config string
  promisor-remote: fix leaking partial clone filter
  grep: fix leaking grep pattern
  submodule: fix leaking submodule ODB paths
  trace2: destroy context stored in thread-local storage
  builtin/difftool: plug several trivial memory leaks
  builtin/repack: fix leaking configuration
  diffcore-order: fix leaking buffer when parsing orderfiles
  parse-options: free previous value of `OPTION_FILENAME`
  diff: fix leaking orderfile option
  builtin/pull: fix leaking "ff" option
  dir: fix off by one errors for ignored and untracked entries
  builtin/submodule--helper: fix leaking remote ref on errors
  t/helper: fix leaking subrepo in nested submodule config helper
  builtin/submodule--helper: fix leaking error buffer
  builtin/submodule--helper: clear child process when not running it
  submodule: fix leaking update strategy
  ...
13 files changed:
builtin/difftool.c
builtin/gc.c
builtin/help.c
builtin/pull.c
builtin/repack.c
builtin/submodule--helper.c
diff.c
diff.h
dir.c
git.c
submodule.c
t/t4204-patch-id.sh
t/t7900-maintenance.sh