aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/tests/default_host.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/end2end/tests/default_host.c')
-rw-r--r--test/core/end2end/tests/default_host.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/end2end/tests/default_host.c b/test/core/end2end/tests/default_host.c
index c0ae50ec62..efd2682932 100644
--- a/test/core/end2end/tests/default_host.c
+++ b/test/core/end2end/tests/default_host.c
@@ -214,8 +214,8 @@ static void simple_request_body(grpc_end2end_test_fixture f) {
grpc_metadata_array_destroy(&request_metadata_recv);
grpc_call_details_destroy(&call_details);
- grpc_call_destroy(c);
- grpc_call_destroy(s);
+ grpc_call_unref(c);
+ grpc_call_unref(s);
cq_verifier_destroy(cqv);
}