Merge branch 'maint'

* maint:
  fix minor memory leak in get_tree_entry()
This commit is contained in:
Junio C Hamano 2010-02-14 18:59:20 -08:00
commit 7e5eb8f183

View File

@ -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;
}