aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Ken Payson <kpayson@google.com>2017-07-14 18:34:44 -0700
committerGravatar Ken Payson <kpayson@google.com>2017-07-14 18:34:44 -0700
commitcc0cbedbd25cafc8db7abc26590d9fcc6b289521 (patch)
treed3dd9fda6b13c547748f6f7bcecc2058c414e75d /src
parent29d472303dcef30bfbd3989b9fd0f4baf40aa96c (diff)
Destroy mutex on subchannel destruction
Diffstat (limited to 'src')
-rw-r--r--src/core/ext/filters/client_channel/subchannel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ext/filters/client_channel/subchannel.c b/src/core/ext/filters/client_channel/subchannel.c
index 88157ed738..5788819331 100644
--- a/src/core/ext/filters/client_channel/subchannel.c
+++ b/src/core/ext/filters/client_channel/subchannel.c
@@ -188,6 +188,7 @@ static void subchannel_destroy(grpc_exec_ctx *exec_ctx, void *arg,
grpc_connector_unref(exec_ctx, c->connector);
grpc_pollset_set_destroy(exec_ctx, c->pollset_set);
grpc_subchannel_key_destroy(exec_ctx, c->key);
+ gpr_mu_destroy(&c->mu);
gpr_free(c);
}