summaryrefslogtreecommitdiff
path: root/revision.c
diff options
context:
space:
mode:
authorRene Scharfe <rene.scharfe@lsrfire.ath.cx>2006-07-04 19:22:20 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-07-04 21:32:52 (GMT)
commit4205eca8de6163385eb1b6eb6577ef7acfe116e7 (patch)
tree71be0aac6a214a043144a597e673969eeff624b0 /revision.c
parent3dd4e7320de037a5b0adf3c53fbf5baf94a6c540 (diff)
downloadgit-4205eca8de6163385eb1b6eb6577ef7acfe116e7.zip
git-4205eca8de6163385eb1b6eb6577ef7acfe116e7.tar.gz
git-4205eca8de6163385eb1b6eb6577ef7acfe116e7.tar.bz2
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>
Diffstat (limited to 'revision.c')
-rw-r--r--revision.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/revision.c b/revision.c
index 56bc4ff..b4157cb 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;