Fix error refcounting bug.

pull/14886/head
Mark D. Roth 7 years ago
parent 65a544241d
commit 026b20eebb
  1. 1
      src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc

@ -359,6 +359,7 @@ void PickFirst::UpdateLocked(const grpc_channel_args& args) {
latest_pending_subchannel_list_.reset(); latest_pending_subchannel_list_.reset();
return; return;
} }
GRPC_ERROR_UNREF(error);
} }
} }
// Not keeping the previous selected subchannel, so set the latest // Not keeping the previous selected subchannel, so set the latest

Loading…
Cancel
Save