aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/filters/client_channel/lb_policy
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2018-04-27 11:48:27 -0700
committerGravatar Mark D. Roth <roth@google.com>2018-04-27 11:48:27 -0700
commita25ece9f6a98721f6bc983de4c376d9766d36ae3 (patch)
treedac1f04b9e589b7f2e1e08c90544b2c6638afbc3 /src/core/ext/filters/client_channel/lb_policy
parentd143bc345ed9caebcec88c1cda9729198ae97a4c (diff)
Fix error refcounting bug.
Diffstat (limited to 'src/core/ext/filters/client_channel/lb_policy')
-rw-r--r--src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc b/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc
index 9d4f2842d1..ba9d9af438 100644
--- a/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc
+++ b/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc
@@ -486,8 +486,8 @@ void RoundRobin::RoundRobinSubchannelData::UpdateConnectivityStateLocked(
grpc_connectivity_state_name(last_connectivity_state_),
grpc_connectivity_state_name(connectivity_state));
}
- subchannel_list()->UpdateStateCountersLocked(
- last_connectivity_state_, connectivity_state, GRPC_ERROR_REF(error));
+ subchannel_list()->UpdateStateCountersLocked(last_connectivity_state_,
+ connectivity_state, error);
last_connectivity_state_ = connectivity_state;
}