Extend the the release_revisions() function so that it frees the "commits" in the "struct ref_info". Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx> --- revision.c | 1 + 1 file changed, 1 insertion(+) diff --git a/revision.c b/revision.c index 90bac9ada03..13b568aea76 100644 --- a/revision.c +++ b/revision.c @@ -2937,6 +2937,7 @@ void release_revisions(struct rev_info *revs) { if (!revs) return; + release_revisions_commit_list(revs); object_array_clear(&revs->pending); } -- 2.35.1.1452.ga7cfc89151f