Merge pull request #22348 from yashykt/bmmetadtafix

Add missing grpc_slice_unref to bm_metadata
reviewable/pr22280/r2
Jan Tattermusch 5 years ago committed by GitHub
commit d5bb7ecbab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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