From cc0cbedbd25cafc8db7abc26590d9fcc6b289521 Mon Sep 17 00:00:00 2001 From: Ken Payson Date: Fri, 14 Jul 2017 18:34:44 -0700 Subject: [PATCH] Destroy mutex on subchannel destruction --- src/core/ext/filters/client_channel/subchannel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/ext/filters/client_channel/subchannel.c b/src/core/ext/filters/client_channel/subchannel.c index 88157ed738c..5788819331d 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); }