summaryrefslogtreecommitdiff
path: root/t/t0005-signals.sh
diff options
context:
space:
mode:
authorLibravatar Kevin Willford <kewillf@microsoft.com>2017-08-28 14:28:27 -0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-09-06 13:10:20 +0900
commite336bdc5b9bcb62982da9708dfb6e68150de72a3 (patch)
treef7056c81e03690e81af9d50b6b1cfb8170eed733 /t/t0005-signals.sh
parentPrepare for 2.14.2 (diff)
downloadtgif-e336bdc5b9bcb62982da9708dfb6e68150de72a3.tar.xz
merge-recursive: fix memory leak
In merge_trees if process_renames or process_entry returns less than zero, the method will just return and not free re_merge, re_head, or entries. This change cleans up the allocated variables before returning to the caller. Signed-off-by: Kevin Willford <kewillf@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0005-signals.sh')
0 files changed, 0 insertions, 0 deletions