aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/surface/sequential_connectivity_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/surface/sequential_connectivity_test.c')
-rw-r--r--test/core/surface/sequential_connectivity_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core/surface/sequential_connectivity_test.c b/test/core/surface/sequential_connectivity_test.c
index d5fd2db81b..ae5288427f 100644
--- a/test/core/surface/sequential_connectivity_test.c
+++ b/test/core/surface/sequential_connectivity_test.c
@@ -153,9 +153,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;