From 026b20eebba34889892b07a16ebe7ec6b674c404 Mon Sep 17 00:00:00 2001 From: "Mark D. Roth" Date: Tue, 1 May 2018 14:52:03 -0700 Subject: [PATCH] Fix error refcounting bug. --- .../filters/client_channel/lb_policy/pick_first/pick_first.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc b/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc index 41ca2d42114..76df9766983 100644 --- a/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +++ b/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(); return; } + GRPC_ERROR_UNREF(error); } } // Not keeping the previous selected subchannel, so set the latest