summaryrefslogtreecommitdiff
path: root/revision.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-04-13 22:01:52 +0200
committerJunio C Hamano <gitster@pobox.com>2022-04-13 23:56:10 -0700
commit81ffbf838070bf68970688e4a11399f58c562cce (patch)
tree41d5d0f3e01f8be7c9c0895e1c63e33eb8f85eea /revision.c
parentab1f6926e90e00ac2ea649e67355f0a0669c0541 (diff)
downloadgit-81ffbf838070bf68970688e4a11399f58c562cce.tar.gz
revisions API: release "reflog_info" in release revisions()
Add a missing reflog_walk_info_release() to "reflog-walk.c" and use it in release_revisions(). Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.c')
-rw-r--r--revision.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/revision.c b/revision.c
index 5aa6dec453..8cd849aa2b 100644
--- a/revision.c
+++ b/revision.c
@@ -2953,6 +2953,7 @@ void release_revisions(struct rev_info *revs)
clear_pathspec(&revs->prune_data);
release_revisions_mailmap(revs->mailmap);
free_grep_patterns(&revs->grep_filter);
+ reflog_walk_info_release(revs->reflog_info);
}
static void add_child(struct rev_info *revs, struct commit *parent, struct commit *child)