Fix memory leak

pull/11317/head
Craig Tiller 8 years ago
parent 569401924d
commit 9c070bfb64
  1. 1
      src/core/lib/surface/completion_queue.c

@ -946,6 +946,7 @@ static void cq_shutdown_next(grpc_exec_ctx *exec_ctx,
gpr_mu_lock(cq->mu); gpr_mu_lock(cq->mu);
if (cqd->shutdown_called) { if (cqd->shutdown_called) {
gpr_mu_unlock(cq->mu); gpr_mu_unlock(cq->mu);
GRPC_CQ_INTERNAL_UNREF(exec_ctx, cq, "shutting_down");
GPR_TIMER_END("grpc_completion_queue_shutdown", 0); GPR_TIMER_END("grpc_completion_queue_shutdown", 0);
return; return;
} }

Loading…
Cancel
Save