@matheusbsbs / matheus-bagliano / commits / 4205eca8de
Fork 0

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 <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <junkio@cox.net>

Rene Scharfe committed Jul 4, 2006 at 21:22 UTC 4205eca8de6163385eb1b6eb6577ef7acfe116e7
1 file changed +1
revision.c
+1
@@ -817,6 +817,7 @@ int setup_revisions(int argc, const char **argv, struct rev_info *revs, const ch
817 exclude = get_merge_bases(a, b, 1);
818 add_pending_commit_list(revs, exclude,
819 flags_exclude);
820 + free_commit_list(exclude);
821 a->object.flags |= flags;
822 } else
823 a->object.flags |= flags_exclude;