aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-09-22 15:36:40 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-09-22 15:36:40 -0700
commit41aab15c74130ae36850d88c8bea0063c83236e7 (patch)
tree0c430e96020a51fe65395ed0423a09948bea0229 /src
parent0619dd153ab9c11c0732019850194991dd8b1010 (diff)
parentb873ac916eadbaa32716f6b0b4813696d157e7d2 (diff)
Merge pull request #3422 from jcanizales/fix-mutex-bug
Fix mutex bug
Diffstat (limited to 'src')
-rw-r--r--src/core/surface/secure_channel_create.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/surface/secure_channel_create.c b/src/core/surface/secure_channel_create.c
index 289bf0111c..3f3469720d 100644
--- a/src/core/surface/secure_channel_create.c
+++ b/src/core/surface/secure_channel_create.c
@@ -195,6 +195,7 @@ static grpc_subchannel *subchannel_factory_create_subchannel(
memset(c, 0, sizeof(*c));
c->base.vtable = &connector_vtable;
c->security_connector = f->security_connector;
+ gpr_mu_init(&c->mu);
gpr_ref_init(&c->refs, 1);
args->mdctx = f->mdctx;
args->args = final_args;