aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar kpayson64 <kpayson@google.com>2017-07-17 10:22:29 -0700
committerGravatar GitHub <noreply@github.com>2017-07-17 10:22:29 -0700
commitb2163c37986e1c8895118ebecbaa4f5e44482e8c (patch)
tree4928d02701aa481746784f95b5aa82a69911e1e6 /src
parentda0c0ecb1a6db355ed5285a3a0c71d9d3b590e20 (diff)
parentcc0cbedbd25cafc8db7abc26590d9fcc6b289521 (diff)
Merge pull request #11836 from kpayson64/subchannel_mu
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);
}