Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH 3/3] Rename git-diff-tree-helper to git-diff-helper (part 2).
[gitweb.git]
/
ls-tree.c
diff --git
a/ls-tree.c
b/ls-tree.c
index 7f8f8644afbcec3eac39230cabbd1298ceaa537d..4231c4b234d8c8a5a35adb3d15ad9cd1f7dcf51a 100644
(file)
--- a/
ls-tree.c
+++ b/
ls-tree.c
@@
-77,6
+77,7
@@
static int list(unsigned char *sha1)
if (!buffer)
die("unable to read sha1 file");
list_recursive(buffer, "tree", size, NULL);
+ free(buffer);
return 0;
}