diff options
author | Ken Payson <kpayson@google.com> | 2017-07-14 18:34:44 -0700 |
---|---|---|
committer | Ken Payson <kpayson@google.com> | 2017-07-14 18:34:44 -0700 |
commit | cc0cbedbd25cafc8db7abc26590d9fcc6b289521 (patch) | |
tree | d3dd9fda6b13c547748f6f7bcecc2058c414e75d | |
parent | 29d472303dcef30bfbd3989b9fd0f4baf40aa96c (diff) |
Destroy mutex on subchannel destruction
-rw-r--r-- | src/core/ext/filters/client_channel/subchannel.c | 1 |
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); } |