Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'il/loosen-remote-helper-names'
[gitweb.git]
/
tree-walk.c
diff --git
a/tree-walk.c
b/tree-walk.c
index 08796c23228fbfb6eb255c479f0196768ee83b27..67a9a0c5a5bf7d7125765679318cfcd68c160da7 100644
(file)
--- a/
tree-walk.c
+++ b/
tree-walk.c
@@
-441,6
+441,7
@@
int get_tree_entry(const unsigned char *tree_sha1, const char *name, unsigned ch
if (name[0] == '\0') {
hashcpy(sha1, root);
+ free(tree);
return 0;
}