Skip to content
Snippets Groups Projects
Commit 9c070bfb authored by Craig Tiller's avatar Craig Tiller
Browse files

Fix memory leak

parent 56940192
No related branches found
No related tags found
No related merge requests found
...@@ -946,6 +946,7 @@ static void cq_shutdown_next(grpc_exec_ctx *exec_ctx, ...@@ -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;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment