Merge pull request #8306 from ctiller/erm

Add missing delete
pull/8311/merge
Craig Tiller 9 years ago committed by GitHub
commit 602edbba8c
  1. 1
      test/cpp/qps/client_async.cc

@ -243,6 +243,7 @@ class AsyncClient : public ClientImpl<StubType, RequestType> {
// this thread isn't supposed to shut down
std::lock_guard<std::mutex> l(shutdown_state_[thread_idx]->mutex);
if (shutdown_state_[thread_idx]->shutdown) {
delete ctx;
return true;
} else if (!ctx->RunNextState(ok, entry)) {
// The RPC and callback are done, so clone the ctx

Loading…
Cancel
Save