summaryrefslogtreecommitdiff
path: root/t/t4121-apply-diffs.sh
diff options
context:
space:
mode:
authorLibravatar Elijah Newren <newren@gmail.com>2018-04-19 10:58:01 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-04-20 10:44:15 +0900
commit9cfee25a823d972250409b5c8bdfd91d1cdf7edb (patch)
treec580afccd831a82c31b8a2fb0a3500ac9847f4c2 /t/t4121-apply-diffs.sh
parentmerge-recursive: introduce new functions to handle rename logic (diff)
downloadtgif-9cfee25a823d972250409b5c8bdfd91d1cdf7edb.tar.xz
merge-recursive: fix leaks of allocated renames and diff_filepairs
get_renames() has always zero'ed out diff_queued_diff.nr while only manually free'ing diff_filepairs that did not correspond to renames. Further, it allocated struct renames that were tucked away in the return string_list. Make sure all of these are deallocated when we are done with them. Reviewed-by: Stefan Beller <sbeller@google.com> Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4121-apply-diffs.sh')
0 files changed, 0 insertions, 0 deletions