aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/tests/bad_hostname.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/end2end/tests/bad_hostname.c')
-rw-r--r--test/core/end2end/tests/bad_hostname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/end2end/tests/bad_hostname.c b/test/core/end2end/tests/bad_hostname.c
index 72a44d0de5..35a531cf78 100644
--- a/test/core/end2end/tests/bad_hostname.c
+++ b/test/core/end2end/tests/bad_hostname.c
@@ -163,7 +163,7 @@ 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_unref(c);
cq_verifier_destroy(cqv);
}