From f1fa96c7b7f548389c7560d3a1a0bce83be56c9f Mon Sep 17 00:00:00 2001 From: lhchavez Date: Sun, 5 Sep 2021 15:44:18 -0700 Subject: Add support for custom smart transports (#806) This change adds support for git smart transports. This will be then used to implement http, https, and ssh transports that don't rely on the libgit2 library. --- remote_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'remote_test.go') diff --git a/remote_test.go b/remote_test.go index 22fd292..7e37274 100644 --- a/remote_test.go +++ b/remote_test.go @@ -97,6 +97,7 @@ func TestRemoteConnectOption(t *testing.T) { remote, err := repo.Remotes.CreateWithOptions("https://github.com/libgit2/TestGitRepository", option) checkFatal(t, err) + defer remote.Free() err = remote.ConnectFetch(nil, nil, nil) checkFatal(t, err) -- cgit v1.2.3