aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/transport/chttp2/client/insecure
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2016-11-17 11:18:09 -0800
committerGravatar Mark D. Roth <roth@google.com>2016-11-17 11:18:09 -0800
commit3d7e49290457f08009d237a9a2cd56c5c2bb0456 (patch)
treec7c386bbfb52d7f5f57ea75fce6a367653807162 /src/core/ext/transport/chttp2/client/insecure
parent183a59fa23bb18c7efe458949a1dbde25994433d (diff)
Add missing mutex clean-up.
Diffstat (limited to 'src/core/ext/transport/chttp2/client/insecure')
-rw-r--r--src/core/ext/transport/chttp2/client/insecure/channel_create.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ext/transport/chttp2/client/insecure/channel_create.c b/src/core/ext/transport/chttp2/client/insecure/channel_create.c
index f63c77c8d6..ec2f7717d6 100644
--- a/src/core/ext/transport/chttp2/client/insecure/channel_create.c
+++ b/src/core/ext/transport/chttp2/client/insecure/channel_create.c
@@ -86,6 +86,7 @@ static void connector_unref(grpc_exec_ctx *exec_ctx, grpc_connector *con) {
connector *c = (connector *)con;
if (gpr_unref(&c->refs)) {
/* c->initial_string_buffer does not need to be destroyed */
+ gpr_mu_destroy(&c->mu);
grpc_handshake_manager_destroy(exec_ctx, c->handshake_mgr);
// If handshaking is not yet in progress, destroy the endpoint.
// Otherwise, the handshaker will do this for us.