summaryrefslogtreecommitdiff
path: root/t/t2007-checkout-symlink.sh
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2020-06-19 15:13:46 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-06-19 11:06:01 -0700
commitd546fe2874ce8dc73cb0ac7541640fd202ec27c8 (patch)
tree21caa4bb9d71e3b8e259667c4f1693ed09e87017 /t/t2007-checkout-symlink.sh
parentGit 2.26.2 (diff)
downloadtgif-d546fe2874ce8dc73cb0ac7541640fd202ec27c8.tar.xz
commit-reach: plug minor memory leak after using is_descendant_of()
ref_newer() builds a commit_list to pass a single potential ancestor to is_descendant_of(). The latter leaves the list intact. Release the allocated memory after the call. Signed-off-by: René Scharfe <l.s.r@web.de> Acked-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2007-checkout-symlink.sh')
0 files changed, 0 insertions, 0 deletions