Merge pull request #19811 from bigfacebear/fix_memory_usage_test_failure

fix memory_usage_test failure
pull/19662/head
Qiancheng Zhao 6 years ago committed by GitHub
commit e20c2e85d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/core/ext/filters/client_channel/client_channel.cc

@ -1510,7 +1510,7 @@ void ChannelData::CreateResolvingLoadBalancingPolicyLocked() {
UniquePtr<LoadBalancingPolicy::ChannelControlHelper>(
New<ClientChannelControlHelper>(this));
lb_args.args = channel_args_;
UniquePtr<char> target_uri(strdup(target_uri_.get()));
UniquePtr<char> target_uri(gpr_strdup(target_uri_.get()));
resolving_lb_policy_.reset(New<ResolvingLoadBalancingPolicy>(
std::move(lb_args), &grpc_client_channel_routing_trace,
std::move(target_uri), ProcessResolverResultLocked, this));

Loading…
Cancel
Save