func (v *TreeBuilder) Free() { runtime.SetFinalizer(v, nil) C.git_treebuilder_free(v.ptr) }
func (builder *TreeBuilder) Free() { C.git_treebuilder_free(builder.git_treebuilder) }