Fix commit_tree() buffer leak
authorStephan Beyer <s-beyer@gmx.net>
Mon, 11 Aug 2008 22:35:11 +0000 (00:35 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 17 Aug 2008 23:27:17 +0000 (16:27 -0700)
commitffa9fd957039902c9a08946d82ccb729a34ed68b
tree192ccf7f7047382bb89e36b12eccec8bdbc4f6ee
parent2ebc02d32a4360da2cf69c2b5f5bfad0716d42b0
Fix commit_tree() buffer leak

The commit_tree() strbuf has a minimum size of 8k and it has not been
released yet.  This patch releases the buffer.

Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-commit-tree.c