diff options
author | René Scharfe <l.s.r@web.de> | 2020-06-19 15:13:46 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-06-19 11:06:01 -0700 |
commit | d546fe2874ce8dc73cb0ac7541640fd202ec27c8 (patch) | |
tree | 21caa4bb9d71e3b8e259667c4f1693ed09e87017 /t/t2007-checkout-symlink.sh | |
parent | Git 2.26.2 (diff) | |
download | tgif-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