aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/tests/simple_metadata.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/end2end/tests/simple_metadata.c')
-rw-r--r--test/core/end2end/tests/simple_metadata.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/end2end/tests/simple_metadata.c b/test/core/end2end/tests/simple_metadata.c
index 367f0b7696..08679a588a 100644
--- a/test/core/end2end/tests/simple_metadata.c
+++ b/test/core/end2end/tests/simple_metadata.c
@@ -266,8 +266,8 @@ static void test_request_response_with_metadata_and_payload(
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);