aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/fuzzers/client_fuzzer.c
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2017-04-25 12:15:53 -0700
committerGravatar murgatroid99 <mlumish@google.com>2017-04-25 12:15:53 -0700
commit3049462b75ac557348243601896ed68ca8145522 (patch)
tree213389dd32b961b25f3833738201e857ce7ae2e3 /test/core/end2end/fuzzers/client_fuzzer.c
parent627e2a5abd2e4146c85625e98083a95846ad57e8 (diff)
parent79759fea1abd09102d38af3e13a84b69e898124b (diff)
Merge remote-tracking branch 'upstream/v1.3.x' into node_only_uv
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);