summaryrefslogtreecommitdiffstats
path: root/libgo/go/crypto/tls/handshake_client_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/crypto/tls/handshake_client_test.go')
-rw-r--r--libgo/go/crypto/tls/handshake_client_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgo/go/crypto/tls/handshake_client_test.go b/libgo/go/crypto/tls/handshake_client_test.go
index 3f91c7acf1f..c0abcda2001 100644
--- a/libgo/go/crypto/tls/handshake_client_test.go
+++ b/libgo/go/crypto/tls/handshake_client_test.go
@@ -18,6 +18,7 @@ func testClientScript(t *testing.T, name string, clientScript [][]byte, config *
go func() {
cli.Write([]byte("hello\n"))
cli.Close()
+ c.Close()
}()
defer c.Close()
OpenPOWER on IntegriCloud