aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/channel
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-04-29 17:26:33 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2016-04-29 17:26:33 -0700
commit580987abf03dc075c90e0ea5b787441191be8c95 (patch)
treecc1889d1b580b089461e8acbdf7cfcd464a5e9dd /test/core/channel
parentb41363e88eb78123926e760e45a981add977140f (diff)
parent90b4a87d3ba78326d7ff523b3412684aa905670e (diff)
Merge branch 'master' of github.com:grpc/grpc into lr_hook
Diffstat (limited to 'test/core/channel')
-rw-r--r--test/core/channel/channel_stack_test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/core/channel/channel_stack_test.c b/test/core/channel/channel_stack_test.c
index 54f9fce14b..6b371e60a7 100644
--- a/test/core/channel/channel_stack_test.c
+++ b/test/core/channel/channel_stack_test.c
@@ -63,7 +63,8 @@ static void channel_destroy_func(grpc_exec_ctx *exec_ctx,
grpc_channel_element *elem) {}
static void call_destroy_func(grpc_exec_ctx *exec_ctx, grpc_call_element *elem,
- const grpc_call_stats *stats) {
+ const grpc_call_stats *stats,
+ void *ignored) {
++*(int *)(elem->channel_data);
}
@@ -87,7 +88,7 @@ static void free_channel(grpc_exec_ctx *exec_ctx, void *arg, bool success) {
}
static void free_call(grpc_exec_ctx *exec_ctx, void *arg, bool success) {
- grpc_call_stack_destroy(exec_ctx, arg, NULL);
+ grpc_call_stack_destroy(exec_ctx, arg, NULL, NULL);
gpr_free(arg);
}