aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/security/transport
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2016-11-17 10:21:43 -0800
committerGravatar Mark D. Roth <roth@google.com>2016-11-17 10:21:43 -0800
commit3975768bdbbbf2d8911d1d098f235bfb8448f30e (patch)
treeb7ce9cd56037334ac71c2d686fd2b8b25e10b623 /src/core/lib/security/transport
parent6446368d682bcc7ac898b2c76670f86ef4e9c272 (diff)
Fix bugs from merge.
Diffstat (limited to 'src/core/lib/security/transport')
-rw-r--r--src/core/lib/security/transport/handshake.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/lib/security/transport/handshake.c b/src/core/lib/security/transport/handshake.c
index f1c0aa7d32..ec40951cbe 100644
--- a/src/core/lib/security/transport/handshake.c
+++ b/src/core/lib/security/transport/handshake.c
@@ -101,9 +101,10 @@ static void security_handshake_done(grpc_exec_ctx *exec_ctx,
grpc_error_free_string(msg);
if (h->secure_endpoint != NULL) {
grpc_endpoint_shutdown(exec_ctx, h->secure_endpoint);
- grpc_endpoint_destroy(exec_ctx, h->secure_endpoint);
+// FIXME: clarify who should destroy...
+// grpc_endpoint_destroy(exec_ctx, h->secure_endpoint);
} else {
- grpc_endpoint_destroy(exec_ctx, h->wrapped_endpoint);
+// grpc_endpoint_destroy(exec_ctx, h->wrapped_endpoint);
}
}
// Clear out the read buffer before it gets passed to the transport,