Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sb/more-repo-in-api'
[gitweb.git]
/
builtin
/
rev-list.c
diff --git
a/builtin/rev-list.c
b/builtin/rev-list.c
index 51e9e1267e848b345ff7c78fe036e7e66bb6f055..14ef659c12a49e25bfc8b8143a7fb5b4138d1787 100644
(file)
--- a/
builtin/rev-list.c
+++ b/
builtin/rev-list.c
@@
-197,7
+197,8
@@
static void finish_commit(struct commit *commit, void *data)
free_commit_list(commit->parents);
commit->parents = NULL;
}
- free_commit_buffer(commit);
+ free_commit_buffer(the_repository->parsed_objects,
+ commit);
}
static inline void finish_object__ma(struct object *obj)