aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/channel/channel_args_test.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-11-18 10:29:04 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-11-18 10:29:04 -0800
commitb28c7e8710638b362e5bfdd7dd81a45241c376e8 (patch)
treefb8bc4e3e6c705e63bc1a4f441f5c1a624f29558 /test/core/channel/channel_args_test.c
parentf2752ebb3b81cbad4e3b9ac0df5d7021c4659243 (diff)
parent91936b32f67c26f7189b7081bcb53e46ea8ba641 (diff)
Merge github.com:grpc/grpc into slice_with_exec_ctx
Diffstat (limited to 'test/core/channel/channel_args_test.c')
-rw-r--r--test/core/channel/channel_args_test.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/core/channel/channel_args_test.c b/test/core/channel/channel_args_test.c
index 6a325bc12f..b2c41652a4 100644
--- a/test/core/channel/channel_args_test.c
+++ b/test/core/channel/channel_args_test.c
@@ -151,7 +151,11 @@ static void test_set_socket_mutator(void) {
GPR_ASSERT(strcmp(ch_args->args[0].key, GRPC_ARG_SOCKET_MUTATOR) == 0);
GPR_ASSERT(ch_args->args[0].type == GRPC_ARG_POINTER);
- grpc_channel_args_destroy(ch_args);
+ {
+ grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT;
+ grpc_channel_args_destroy(&exec_ctx, ch_args);
+ grpc_exec_ctx_finish(&exec_ctx);
+ }
}
int main(int argc, char **argv) {