summaryrefslogtreecommitdiff
path: root/quote.c
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2017-09-08 13:51:48 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-09-08 18:18:04 (GMT)
commit22b09cdfadf7a48f6503fddf51082c66541cf1d6 (patch)
tree9f53ba2a59f35664e58fd6d2e359dd31aa78ba1d /quote.c
parent27d03d04d5b7e86a260d7afa283c9905f64de350 (diff)
downloadgit-22b09cdfadf7a48f6503fddf51082c66541cf1d6.zip
git-22b09cdfadf7a48f6503fddf51082c66541cf1d6.tar.gz
git-22b09cdfadf7a48f6503fddf51082c66541cf1d6.tar.bz2
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 'quote.c')
0 files changed, 0 insertions, 0 deletions