Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* maint:
  rev-list --bisect: fix allocation of "int*" instead of "int".
  • Loading branch information
Junio C Hamano committed Aug 1, 2007
2 parents cf32190 + 4e0b2bb commit 4b7f59a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin-rev-list.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4b7f59a

Please sign in to comment.