diff options
author | Muxi Yan <mxyan@google.com> | 2017-01-11 01:50:12 -0800 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2017-01-11 01:50:12 -0800 |
commit | defc58bbc41aba50937c30dd040aae1058c48525 (patch) | |
tree | 5b13f2ba6d63fe10c7af3e1b76bffb1545352c2f /src/objective-c/tests/CoreCronetEnd2EndTests | |
parent | 0029802be49f9ce4c4fac0a724f006497f2a4e21 (diff) |
test fix
Diffstat (limited to 'src/objective-c/tests/CoreCronetEnd2EndTests')
-rw-r--r-- | src/objective-c/tests/CoreCronetEnd2EndTests/CoreCronetEnd2EndTests.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/objective-c/tests/CoreCronetEnd2EndTests/CoreCronetEnd2EndTests.m b/src/objective-c/tests/CoreCronetEnd2EndTests/CoreCronetEnd2EndTests.m index 4ba7badd86..e885011d04 100644 --- a/src/objective-c/tests/CoreCronetEnd2EndTests/CoreCronetEnd2EndTests.m +++ b/src/objective-c/tests/CoreCronetEnd2EndTests/CoreCronetEnd2EndTests.m @@ -124,11 +124,12 @@ static void chttp2_tear_down_secure_fullstack(grpc_end2end_test_fixture *f) { static void cronet_init_client_simple_ssl_secure_fullstack( grpc_end2end_test_fixture *f, grpc_channel_args *client_args) { + grpc_exec_ctx ctx = GRPC_EXEC_CTX_INIT; cronet_engine *cronetEngine = [Cronet getGlobalEngine]; grpc_channel_args *new_client_args = grpc_channel_args_copy(client_args); cronet_init_client_secure_fullstack(f, new_client_args, cronetEngine); - grpc_channel_args_destroy(new_client_args); + grpc_channel_args_destroy(&ctx, new_client_args); } static int fail_server_auth_check(grpc_channel_args *server_args) { |