aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/microbenchmarks
diff options
context:
space:
mode:
authorGravatar Hope Casey-Allen <hcaseyal@google.com>2018-09-20 12:56:56 -0700
committerGravatar Hope Casey-Allen <hcaseyal@google.com>2018-09-20 12:56:56 -0700
commit4c6e7ce15dea5cdb51ef2021aa539d16cbd30991 (patch)
tree1bf699322d54890269195e7fc8e43578df4c2857 /test/cpp/microbenchmarks
parentd44feec92ffd1edff7836409f38069edc0836d63 (diff)
Destroy metadata buffer at end of benchmark loop
Diffstat (limited to 'test/cpp/microbenchmarks')
-rw-r--r--test/cpp/microbenchmarks/bm_chttp2_hpack.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/cpp/microbenchmarks/bm_chttp2_hpack.cc b/test/cpp/microbenchmarks/bm_chttp2_hpack.cc
index ba712548e6..ba4b57ad22 100644
--- a/test/cpp/microbenchmarks/bm_chttp2_hpack.cc
+++ b/test/cpp/microbenchmarks/bm_chttp2_hpack.cc
@@ -822,6 +822,7 @@ static void OnInitialHeader(void* user_data, grpc_mdelem md) {
GPR_ASSERT(0);
}
}
+ grpc_chttp2_incoming_metadata_buffer_destroy(&buffer);
}
// Benchmark timeout handling