diff options
author | Craig Tiller <ctiller@google.com> | 2015-09-22 15:36:40 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-09-22 15:36:40 -0700 |
commit | 41aab15c74130ae36850d88c8bea0063c83236e7 (patch) | |
tree | 0c430e96020a51fe65395ed0423a09948bea0229 /src | |
parent | 0619dd153ab9c11c0732019850194991dd8b1010 (diff) | |
parent | b873ac916eadbaa32716f6b0b4813696d157e7d2 (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.c | 1 |
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; |