diff options
author | 2018-05-01 14:52:03 -0700 | |
---|---|---|
committer | 2018-05-01 14:52:03 -0700 | |
commit | 026b20eebba34889892b07a16ebe7ec6b674c404 (patch) | |
tree | 6f46108caec44706eafe6a47839cb705a04f82a6 /src | |
parent | 65a544241d3aefbb230990e2ba9f144f2acb6da5 (diff) |
Fix error refcounting bug.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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 41ca2d4211..76df976698 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 |