Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t0060: add test for prefix_path when path == work tree
[gitweb.git]
/
list-objects.c
diff --git
a/list-objects.c
b/list-objects.c
index 05c8c5c61660fdf351246df4279b7642695f8c7e..6cbedf0280076d8fe6e49241d89938955ecddead 100644
(file)
--- 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,