aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2015-10-23 13:46:26 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2015-10-23 13:46:26 -0700
commitfbb6b92ea265b6abf3fbb6770a2c0807c25a77a7 (patch)
treeae81815c0a4e1baa15b797d66fca5ce4e7a78b5e /src/core
parent850ffbcbddc6fb84155950f8acbb8f2339848ad3 (diff)
Fixed an inexplicable wrong handling of a lock
Diffstat (limited to 'src/core')
-rw-r--r--src/core/channel/client_uchannel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/channel/client_uchannel.c b/src/core/channel/client_uchannel.c
index fee0c54e89..510677a844 100644
--- a/src/core/channel/client_uchannel.c
+++ b/src/core/channel/client_uchannel.c
@@ -462,7 +462,7 @@ static void cuc_destroy_channel_elem(grpc_exec_ctx *exec_ctx,
grpc_subchannel_state_change_unsubscribe(exec_ctx, chand->subchannel,
&chand->connectivity_cb);
grpc_connectivity_state_destroy(exec_ctx, &chand->state_tracker);
- gpr_mu_lock(&chand->mu_state);
+ gpr_mu_destroy(&chand->mu_state);
}
const grpc_channel_filter grpc_client_uchannel_filter = {