aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/surface/num_external_connectivity_watchers_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/surface/num_external_connectivity_watchers_test.c')
-rw-r--r--test/core/surface/num_external_connectivity_watchers_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core/surface/num_external_connectivity_watchers_test.c b/test/core/surface/num_external_connectivity_watchers_test.c
index 16401bb7ac..5c71d41bfc 100644
--- a/test/core/surface/num_external_connectivity_watchers_test.c
+++ b/test/core/surface/num_external_connectivity_watchers_test.c
@@ -176,9 +176,9 @@ static grpc_channel *secure_test_create_channel(const char *addr) {
grpc_channel *channel =
grpc_secure_channel_create(ssl_creds, addr, new_client_args, NULL);
{
- grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT;
- grpc_channel_args_destroy(&exec_ctx, new_client_args);
- grpc_exec_ctx_finish(&exec_ctx);
+ exec_ctx = GRPC_EXEC_CTX_INIT;
+ grpc_channel_args_destroy(new_client_args);
+ grpc_exec_ctx_finish();
}
grpc_channel_credentials_release(ssl_creds);
return channel;