git-fsck-objects: Free tree entries after use
authorSergey Vlasov <vsu@altlinux.ru>
Tue, 15 Nov 2005 16:07:15 +0000 (19:07 +0300)
committerJunio C Hamano <junkio@cox.net>
Tue, 15 Nov 2005 19:42:28 +0000 (11:42 -0800)
commit545f229a4b43212e683ac63e5aa740324ac7799e
tree97aa7e16d6e0b7edbeda9fa78740de6e8a4e566a
parenta52e4ef877f693a69710145f56d867365a755f91
git-fsck-objects: Free tree entries after use

The Massif tool of Valgrind revealed that parsed tree entries occupy
more than 60% of memory allocated by git-fsck-objects.  These entries
can be freed immediately after use, which significantly decreases
memory consumption.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Junio C Hamano <junkio@cox.net>
fsck-objects.c