Add missing grpc_slice_unref to bm_metadata

pull/22348/head
Yash Tibrewal 5 years ago
parent e4f23cc6a2
commit b40b162cc9
  1. 1
      test/cpp/microbenchmarks/bm_metadata.cc

@ -63,6 +63,7 @@ static void BM_SliceReIntern(benchmark::State& state) {
for (auto _ : state) {
grpc_slice_unref(grpc_core::ManagedMemorySlice(&slice));
}
grpc_slice_unref(slice);
track_counters.Finish(state);
}
BENCHMARK(BM_SliceReIntern);

Loading…
Cancel
Save