Merge branch 'js/merge-base' into next

* js/merge-base:
  rev-list: free commit_list in ... handler
This commit is contained in:
Junio C Hamano
2006-07-04 14:47:09 -07:00

View File

@@ -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;