summaryrefslogtreecommitdiff
path: root/t/t9153
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2020-06-19 13:13:46 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-06-19 18:06:01 (GMT)
commitd546fe2874ce8dc73cb0ac7541640fd202ec27c8 (patch)
tree21caa4bb9d71e3b8e259667c4f1693ed09e87017 /t/t9153
parentaf6b65d45ef179ed52087e80cb089f6b2349f4ec (diff)
downloadgit-d546fe2874ce8dc73cb0ac7541640fd202ec27c8.zip
git-d546fe2874ce8dc73cb0ac7541640fd202ec27c8.tar.gz
git-d546fe2874ce8dc73cb0ac7541640fd202ec27c8.tar.bz2
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/t9153')
0 files changed, 0 insertions, 0 deletions