* [PATCH] rev-list: free commit_list in ... handler
@ 2006-07-04 19:22 Rene Scharfe
2006-07-04 21:37 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: Rene Scharfe @ 2006-07-04 19:22 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git, Johannes Schindelin
Johannes noticed the missing call to free_commit_list() in the
patch from Santi to add ... support to rev-parse. Turns out I
forgot it too in rev-list. This patch is against the next branch
(3b1d06a).
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
diff --git a/revision.c b/revision.c
index 66390c9..a7750e6 100644
--- a/revision.c
+++ b/revision.c
@@ -817,6 +817,7 @@ int setup_revisions(int argc, const char
exclude = get_merge_bases(a, b, 1);
add_pending_commit_list(revs, exclude,
flags_exclude);
+ free_commit_list(exclude);
a->object.flags |= flags;
} else
a->object.flags |= flags_exclude;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] rev-list: free commit_list in ... handler
2006-07-04 19:22 [PATCH] rev-list: free commit_list in ... handler Rene Scharfe
@ 2006-07-04 21:37 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2006-07-04 21:37 UTC (permalink / raw)
To: Rene Scharfe; +Cc: git
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-04 21:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-04 19:22 [PATCH] rev-list: free commit_list in ... handler Rene Scharfe
2006-07-04 21:37 ` Junio C Hamano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).