Code

commit-tree: free commit message before exiting
authorJonathan Nieder <jrnieder@gmail.com>
Sat, 2 Oct 2010 08:41:00 +0000 (03:41 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 Oct 2010 03:30:17 +0000 (20:30 -0700)
commit79bc2af5ae161d1e81b57313c81fb81e3ec6c57d
tree9b81d67fe19ab45120dda8171cce6360e34cb988
parentc752e7f3e8d96a9673ad248addc9418164bd3ce6
commit-tree: free commit message before exiting

This buffer is freed by the C runtime when commit-tree exits moments
later, but freeing it explicitly should make valgrind quieter.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit-tree.c