X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/1649afdc9b2febe9ab7e1abe1956c5dcaff93aa1..c1572bb5ec4540b5008490cf471cc4a5e65ef728:/ui-tree.c 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 print_binary_buffer(buf, size); else print_text_buffer(basename, buf, size); + + free(buf); } struct single_tree_ctx {