Memory leak of git_tree object; whitespace