diff --git a/rpc/transport/transport_test.go b/rpc/transport/transport_test.go index 5cee8ef6..072ae052 100644 --- a/rpc/transport/transport_test.go +++ b/rpc/transport/transport_test.go @@ -45,12 +45,10 @@ func testTransport(t *testing.T, makePipe func() (t1, t2 Transport, err error)) if err != nil { t.Fatal("t1.NewMessage #1:", err) } - defer callMsg.Release() bootMsg, err := t1.NewMessage() if err != nil { t.Fatal("t1.NewMessage #2:", err) } - defer bootMsg.Release() // Fill in bootstrap message boot, err := bootMsg.Message().NewBootstrap()