OSDN Git Service
(root)
/
git-core
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
builtin/describe.c: rename `oid` to avoid variable shadowing
[git-core/git.git]
/
bisect.c
diff --git
a/bisect.c
b/bisect.c
index
2549eaf
..
96beeb5
100644
(file)
--- a/
bisect.c
+++ b/
bisect.c
@@
-826,7
+826,8
@@
static int check_ancestors(const char *prefix)
/* Clean up objects used, as they will be reused. */
clear_commit_marks_for_object_array(&pending_copy, ALL_REV_FLAGS);
- free(pending_copy.objects);
+
+ object_array_clear(&pending_copy);
return res;
}