diff options
Diffstat (limited to 'list-objects.c')
-rw-r--r-- | list-objects.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/list-objects.c b/list-objects.c index 05c8c5c616..6cbedf0280 100644 --- a/list-objects.c +++ b/list-objects.c @@ -123,8 +123,7 @@ static void process_tree(struct rev_info *revs, cb_data); } strbuf_setlen(base, baselen); - free(tree->buffer); - tree->buffer = NULL; + free_tree_buffer(tree); } static void mark_edge_parents_uninteresting(struct commit *commit, |