From 4205eca8de6163385eb1b6eb6577ef7acfe116e7 Mon Sep 17 00:00:00 2001 From: Rene Scharfe Date: Tue, 4 Jul 2006 21:22:20 +0200 Subject: [PATCH] rev-list: free commit_list in ... handler 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 Signed-off-by: Junio C Hamano --- revision.c | 1 + 1 file changed, 1 insertion(+) diff --git a/revision.c b/revision.c index 56bc4ff0e..b4157cbb6 100644 --- a/revision.c +++ b/revision.c @@ -817,6 +817,7 @@ int setup_revisions(int argc, const char **argv, struct rev_info *revs, const ch 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; -- 2.30.2