diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2017-09-08 15:51:48 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-09 03:18:04 +0900 |
commit | 22b09cdfadf7a48f6503fddf51082c66541cf1d6 (patch) | |
tree | 9f53ba2a59f35664e58fd6d2e359dd31aa78ba1d /t/t4013/diff.log_--root_--cc_--patch-with-stat_--summary_master | |
parent | files_pack_refs(): use a reference transaction to write packed refs (diff) | |
download | tgif-22b09cdfadf7a48f6503fddf51082c66541cf1d6.tar.xz |
prune_refs(): also free the linked list
At least since v1.7, the elements of the `refs_to_prune` linked list
have been leaked. Fix the leak by teaching `prune_refs()` to free the
list elements as it processes them.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.log_--root_--cc_--patch-with-stat_--summary_master')
0 files changed, 0 insertions, 0 deletions