diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-08-01 06:12:32 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-08-01 06:12:32 +0200 |
commit | 4b7f59af2a5b072a0a3950c956842e4d6223a167 (patch) | |
tree | da4c15440086eb626aa00909e5a7ad404f98fa29 /builtin-rev-list.c | |
parent | git.c: execution path (diff) | |
parent | rev-list --bisect: fix allocation of "int*" instead of "int". (diff) | |
download | git-4b7f59af2a5b072a0a3950c956842e4d6223a167.tar.xz git-4b7f59af2a5b072a0a3950c956842e4d6223a167.zip |
Merge branch 'maint'
* maint:
rev-list --bisect: fix allocation of "int*" instead of "int".
Diffstat (limited to 'builtin-rev-list.c')
-rw-r--r-- | builtin-rev-list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-rev-list.c b/builtin-rev-list.c index 8efd609b12..ac551d59f3 100644 --- a/builtin-rev-list.c +++ b/builtin-rev-list.c @@ -300,7 +300,7 @@ static struct commit_list *find_bisection(struct commit_list *list, show_list("bisection 2 sorted", 0, nr, list); *all = nr; - weights = xcalloc(on_list, sizeof(int*)); + weights = xcalloc(on_list, sizeof(*weights)); counted = 0; for (n = 0, p = list; p; p = p->next) { |