1
0
mirror of https://github.com/git/git.git synced 2024-09-29 06:11:51 +02:00

Merge branch 'maint-1.6.6' into maint

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

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