aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c
diff options
context:
space:
mode:
authorGravatar apolcyn <apolcyn@google.com>2018-01-25 12:15:15 -0800
committerGravatar GitHub <noreply@github.com>2018-01-25 12:15:15 -0800
commitdc8028272ed071e61925d4032f4cdc1fde6a8b1d (patch)
treecaedb19c698a42b7f27d2c396d6eff8d071e35da /src/objective-c
parent5e82dddc056bd488e0ba1ba0057247ab23e442d4 (diff)
parent190a8dbc6c011d3c59980c2525ffe443cf4886da (diff)
Merge pull request #14042 from apolcyn/ruby_25_on_kokoro_mac
Ruby macos kokoro environment and package build updates
Diffstat (limited to 'src/objective-c')
-rw-r--r--src/objective-c/GRPCClient/private/GRPCChannel.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCChannel.m b/src/objective-c/GRPCClient/private/GRPCChannel.m
index b78b14f2af..26efe90abd 100644
--- a/src/objective-c/GRPCClient/private/GRPCChannel.m
+++ b/src/objective-c/GRPCClient/private/GRPCChannel.m
@@ -189,6 +189,7 @@ static grpc_channel_args *BuildChannelArgs(NSDictionary *dictionary) {
timeout = 0;
}
grpc_slice host_slice;
+ memset(&host_slice, 0, sizeof(host_slice));
if (serverName) {
host_slice = grpc_slice_from_copied_string(serverName.UTF8String);
}