Thread (221 messages) 221 messages, 6 authors, 2022-07-12
STALE1429d
Revisions (6)
  1. v1 [diff vs current]
  2. v2 [diff vs current]
  3. v3 [diff vs current]
  4. v4 current
  5. v5 [diff vs current]
  6. v6 [diff vs current]

[PATCH v4 16/27] revisions API: have release_revisions() release "commits"

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2022-03-31 01:13:18
Subsystem: the rest · Maintainer: Linus Torvalds

Extend the the release_revisions() function so that it frees the
"commits" in the "struct rev_info".

Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
---
 revision.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/revision.c b/revision.c
index 8fc157e9ee7..394e2dcdd90 100644
--- a/revision.c
+++ b/revision.c
@@ -2937,6 +2937,7 @@ static void release_revisions_commit_list(struct rev_info *revs)
 
 void release_revisions(struct rev_info *revs)
 {
+	release_revisions_commit_list(revs);
 	object_array_clear(&revs->pending);
 }
 
-- 
2.35.1.1557.g4e3e9cdb5e0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help