Merge branch 'ab/plug-random-leaks'
commit192a3fa31dbb3bb5dbcc64b6587a2763839d784b
authorJunio C Hamano <gitster@pobox.com>
Fri, 29 Oct 2021 22:43:13 +0000 (29 15:43 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 Oct 2021 22:43:13 +0000 (29 15:43 -0700)
tree1bbcb177359e702323458b4d1c52dc51ce9a9cb4
parent55b99febc40308985f319ae3feaa23070abebdb7
parent3c8150497f3c77a2c57e73c53bd3de933b85d9a3
Merge branch 'ab/plug-random-leaks'

Leakfix.

* ab/plug-random-leaks:
  reflog: free() ref given to us by dwim_log()
  submodule--helper: fix small memory leaks
  clone: fix a memory leak of the "git_dir" variable
  grep: fix a "path_list" memory leak
  grep: use object_array_clear() in cmd_grep()
  grep: prefer "struct grep_opt" over its "void *" equivalent