aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/tests/empty_batch.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/end2end/tests/empty_batch.c')
-rw-r--r--test/core/end2end/tests/empty_batch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/end2end/tests/empty_batch.c b/test/core/end2end/tests/empty_batch.c
index fe57a6e514..d0971367a6 100644
--- a/test/core/end2end/tests/empty_batch.c
+++ b/test/core/end2end/tests/empty_batch.c
@@ -121,7 +121,7 @@ static void empty_batch_body(grpc_end2end_test_config config,
CQ_EXPECT_COMPLETION(cqv, tag(1), 1);
cq_verify(cqv);
- grpc_call_destroy(c);
+ grpc_call_unref(c);
cq_verifier_destroy(cqv);
}