diff options
author | Yuchen Zeng <zyc@google.com> | 2017-03-14 01:21:57 -0700 |
---|---|---|
committer | Yuchen Zeng <zyc@google.com> | 2017-03-14 11:40:56 -0700 |
commit | 4564b8cde72f74b88ec2ddf4943768e809dff94b (patch) | |
tree | 37b627d488483f0e90994e6653fb35ce55481c22 /test/cpp/common | |
parent | 77532e8bf3d4c93b680ac63a5e436cea92c708f5 (diff) |
Copy value at SetPointerWithVtable
Diffstat (limited to 'test/cpp/common')
-rw-r--r-- | test/cpp/common/channel_arguments_test.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/cpp/common/channel_arguments_test.cc b/test/cpp/common/channel_arguments_test.cc index 190d32ce06..9bcc9f99f6 100644 --- a/test/cpp/common/channel_arguments_test.cc +++ b/test/cpp/common/channel_arguments_test.cc @@ -230,13 +230,6 @@ TEST_F(ChannelArgumentsTest, SetSocketMutator) { EXPECT_TRUE(HasArg(arg1)); // arg0 is replaced by arg1 EXPECT_FALSE(HasArg(arg0)); - - // arg0 is destroyed by grpc_socket_mutator_to_arg(mutator1) - { - grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT; - arg1.value.pointer.vtable->destroy(&exec_ctx, arg1.value.pointer.p); - grpc_exec_ctx_finish(&exec_ctx); - } } TEST_F(ChannelArgumentsTest, SetUserAgentPrefix) { |