Merge branch 'ah/plugleaks'
authorJunio C Hamano <gitster@pobox.com>
Wed, 7 Apr 2021 23:54:08 +0000 (16:54 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Apr 2021 23:54:08 +0000 (16:54 -0700)
commit642a40019c99a42f5f4ed4f3e52b9ab92cd75fe7
tree03da4a9395b7d4eda1517fb783e246cfeb80c965
parent2e36527f23b7f6ae15e6f21ac3b08bf3fed6ee48
parent68ffe095a25b4aba1d6aa1386318ddc8dadcf8c2
Merge branch 'ah/plugleaks'

Plug or annotate remaining leaks that trigger while running the
very basic set of tests.

* ah/plugleaks:
  transport: also free remote_refs in transport_disconnect()
  parse-options: don't leak alias help messages
  parse-options: convert bitfield values to use binary shift
  init-db: silence template_dir leak when converting to absolute path
  init: remove git_init_db_config() while fixing leaks
  worktree: fix leak in dwim_branch()
  clone: free or UNLEAK further pointers when finished
  reset: free instead of leaking unneeded ref
  symbolic-ref: don't leak shortened refname in check_symref()
builtin/init-db.c
builtin/ls-remote.c
builtin/remote.c
transport.c