diff options
-rw-r--r-- | ui-tree.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui-tree.c b/ui-tree.c index 67fd1bc..524de0f 100644 --- a/ui-tree.c +++ b/ui-tree.c | |||
@@ -127,6 +127,8 @@ static void print_object(const unsigned char *sha1, char *path, const char *base | |||
127 | print_binary_buffer(buf, size); | 127 | print_binary_buffer(buf, size); |
128 | else | 128 | else |
129 | print_text_buffer(basename, buf, size); | 129 | print_text_buffer(basename, buf, size); |
130 | |||
131 | free(buf); | ||
130 | } | 132 | } |
131 | 133 | ||
132 | struct single_tree_ctx { | 134 | struct single_tree_ctx { |