commit | 9c070bfb6495bd7763c9f5a8ae4ac095b29ecac0 | [log] [tgz] |
---|---|---|
author | Craig Tiller <ctiller@google.com> | Wed Jul 05 14:59:53 2017 -0700 |
committer | Craig Tiller <ctiller@google.com> | Wed Jul 05 14:59:53 2017 -0700 |
tree | ab97744fab9998d95e6eec545888972ac949ae16 | |
parent | 569401924dcb403f2339f452413ccc169d0f6fc5 [diff] |
Fix memory leak
diff --git a/src/core/lib/surface/completion_queue.c b/src/core/lib/surface/completion_queue.c index 8067b10..14e55ed 100644 --- a/src/core/lib/surface/completion_queue.c +++ b/src/core/lib/surface/completion_queue.c
@@ -946,6 +946,7 @@ gpr_mu_lock(cq->mu); if (cqd->shutdown_called) { gpr_mu_unlock(cq->mu); + GRPC_CQ_INTERNAL_UNREF(exec_ctx, cq, "shutting_down"); GPR_TIMER_END("grpc_completion_queue_shutdown", 0); return; }