diff options
author | Muxi Yan <mxyan@google.com> | 2018-12-12 14:30:12 -0800 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2018-12-12 14:30:12 -0800 |
commit | 3fc5ca0c75aae97e9201df000a5afd5f628403b8 (patch) | |
tree | 59e4904776159a961466002bcf6d11d7f9e7cebc /src/objective-c/GRPCClient/private/GRPCInsecureChannelFactory.m | |
parent | 20c8cc72920b14520160c4e2001caec2b8acddc0 (diff) |
batch fix
Diffstat (limited to 'src/objective-c/GRPCClient/private/GRPCInsecureChannelFactory.m')
-rw-r--r-- | src/objective-c/GRPCClient/private/GRPCInsecureChannelFactory.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCInsecureChannelFactory.m b/src/objective-c/GRPCClient/private/GRPCInsecureChannelFactory.m index b802137c13..8ad1e848f5 100644 --- a/src/objective-c/GRPCClient/private/GRPCInsecureChannelFactory.m +++ b/src/objective-c/GRPCClient/private/GRPCInsecureChannelFactory.m @@ -33,7 +33,7 @@ } - (grpc_channel *)createChannelWithHost:(NSString *)host channelArgs:(NSDictionary *)args { - grpc_channel_args *coreChannelArgs = GRPCBuildChannelArgs([args copy]); + grpc_channel_args *coreChannelArgs = GRPCBuildChannelArgs(args); grpc_channel *unmanagedChannel = grpc_insecure_channel_create(host.UTF8String, coreChannelArgs, NULL); GRPCFreeChannelArgs(coreChannelArgs); |