func (r *Remote) Free() { runtime.SetFinalizer(r, nil) callbacks := C.git_remote_get_callbacks(r.ptr) if callbacks != nil && callbacks.payload != nil { pointerHandles.Untrack(callbacks.payload) } C.git_remote_free(r.ptr) }
func (r *Remote) Free() { runtime.SetFinalizer(r, nil) C.git_remote_free(r.ptr) }
func (remote *Remote) Free() { C.git_remote_free(remote.git_remote) }