Jonathan Nieder <jrnieder@xxxxxxxxx> writes: > Subject: revert: plug memory leak in "cherry-pick root commit" codepath > > The empty tree passed as common ancestor to merge_trees() when > cherry-picking a parentless commit is allocated on the heap and never > freed. Thanks for noticing, but shouldn't we be just using lookup_tree((const unsigned char *)EMPTY_TREE_SHA1_BIN) or something, instead of hand-crafting a fake tree object? -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html