aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/fuzzers/client_fuzzer.c
diff options
context:
space:
mode:
authorGravatar Yuchen Zeng <y-zeng@users.noreply.github.com>2017-04-25 11:08:04 -0700
committerGravatar GitHub <noreply@github.com>2017-04-25 11:08:04 -0700
commit79759fea1abd09102d38af3e13a84b69e898124b (patch)
tree4ac7c385d528d08d9e2d6d44bb38eec8402f5802 /test/core/end2end/fuzzers/client_fuzzer.c
parentdc36f4df6aba60275a31227e1d29c4d20b6cadca (diff)
parentb864e7c41c6d0363e23093fb090625f260994962 (diff)
Merge branch 'master' into v1.3.x
Diffstat (limited to 'test/core/end2end/fuzzers/client_fuzzer.c')
-rw-r--r--test/core/end2end/fuzzers/client_fuzzer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/end2end/fuzzers/client_fuzzer.c b/test/core/end2end/fuzzers/client_fuzzer.c
index e7e7dbefd0..6f49baffd2 100644
--- a/test/core/end2end/fuzzers/client_fuzzer.c
+++ b/test/core/end2end/fuzzers/client_fuzzer.c
@@ -65,7 +65,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
grpc_mock_endpoint_create(discard_write, resource_quota);
grpc_resource_quota_unref_internal(&exec_ctx, resource_quota);
- grpc_completion_queue *cq = grpc_completion_queue_create(NULL);
+ grpc_completion_queue *cq = grpc_completion_queue_create_for_next(NULL);
grpc_transport *transport =
grpc_create_chttp2_transport(&exec_ctx, NULL, mock_endpoint, 1);
grpc_chttp2_transport_start_reading(&exec_ctx, transport, NULL);
@@ -151,7 +151,7 @@ done:
ev = grpc_completion_queue_next(cq, gpr_inf_past(GPR_CLOCK_REALTIME), NULL);
GPR_ASSERT(ev.type == GRPC_QUEUE_SHUTDOWN);
}
- grpc_call_destroy(call);
+ grpc_call_unref(call);
grpc_completion_queue_destroy(cq);
grpc_metadata_array_destroy(&initial_metadata_recv);
grpc_metadata_array_destroy(&trailing_metadata_recv);