diff options
| author | Junio C Hamano <gitster@pobox.com> | 2018-12-28 10:40:58 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-12-28 10:40:58 -0800 |
| commit | b9fbc04e26fcc2c7ba6dda32512b3726d31e4beb (patch) | |
| tree | d160a4832769b9f4733c8ecaf93e7eb565a37b2a /builtin/rev-list.c | |
| parent | Git 2.20 (diff) | |
| parent | t/helper/test-repository: celebrate independence from the_repository (diff) | |
| download | git-b9fbc04e26fcc2c7ba6dda32512b3726d31e4beb.tar.gz git-b9fbc04e26fcc2c7ba6dda32512b3726d31e4beb.zip | |
Merge branch 'sb/more-repo-in-api' into md/list-objects-filter-by-depth
Diffstat (limited to 'builtin/rev-list.c')
| -rw-r--r-- | builtin/rev-list.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/rev-list.c b/builtin/rev-list.c index 2880ed37e3..3a2c0c23b6 100644 --- 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) |
