diff options
author | Craig Tiller <ctiller@google.com> | 2017-02-14 21:58:46 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-02-14 21:58:46 -0800 |
commit | 5752570b025befb68bbc1c9586bdd53da43bae55 (patch) | |
tree | 7db9ba39be54b33ef0abd6008948683d223c9515 /test/cpp/microbenchmarks/bm_cq.cc | |
parent | 14ae5381af80f5a1fc30e6e88f94cfbe314d54f8 (diff) |
Fix memory leak
Diffstat (limited to 'test/cpp/microbenchmarks/bm_cq.cc')
-rw-r--r-- | test/cpp/microbenchmarks/bm_cq.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/cpp/microbenchmarks/bm_cq.cc b/test/cpp/microbenchmarks/bm_cq.cc index 502320d6dc..195dcef3ab 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); |