Fix the ref count issue

pull/19178/head
Karthik Ravi Shankar 6 years ago
parent fb1170eaf7
commit 724565372f
  1. 1
      src/core/lib/surface/completion_queue.cc

@ -820,7 +820,6 @@ static void cq_end_op_for_pluck(
static void functor_callback(void* arg, grpc_error* error) {
auto* functor = static_cast<grpc_experimental_completion_queue_functor*>(arg);
functor->functor_run(functor, error == GRPC_ERROR_NONE);
GRPC_ERROR_UNREF(error);
}
/* Complete an event on a completion queue of type GRPC_CQ_CALLBACK */

Loading…
Cancel
Save