diff --git a/test/cpp/microbenchmarks/bm_cq.cc b/test/cpp/microbenchmarks/bm_cq.cc index 502320d6dc3..195dcef3abd 100644 --- a/test/cpp/microbenchmarks/bm_cq.cc +++ b/test/cpp/microbenchmarks/bm_cq.cc @@ -109,6 +109,7 @@ static void BM_Pass1Core(benchmark::State& state) { grpc_exec_ctx_finish(&exec_ctx); grpc_completion_queue_next(cq, deadline, NULL); } + grpc_completion_queue_destroy(cq); } BENCHMARK(BM_Pass1Core);