[PATCH 0/6] leaks: miscellaneous small leak fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A few small miscellaneous memory leak fixes. I'm currently waiting on
the other in-flight leak fixes I've got to mark more tests as passing
under SANITIZE=leak, these fixes don't make any tests pass by
themselves, but in combination with later fixes I've got planned will
make some tests scripts pass completely.

Ævar Arnfjörð Bjarmason (6):
  grep: prefer "struct grep_opt" over its "void *"
  grep: use object_array_clear() in cmd_grep()
  clone: fix a memory leak of the "git_dir" variable
  submodule--helper: fix small memory leaks
  reflog: free() ref given to us by dwim_log()
  repack: stop leaking a "struct child_process"

 builtin/clone.c             | 4 +++-
 builtin/grep.c              | 5 +++--
 builtin/reflog.c            | 1 +
 builtin/repack.c            | 4 +++-
 builtin/submodule--helper.c | 2 ++
 5 files changed, 12 insertions(+), 4 deletions(-)

-- 
2.33.1.1494.g88b39a443e1




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux