aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-10-19 09:17:11 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-10-19 09:17:11 -0700
commit56d605230f2d8c2ddb5670e8d0f2ede6c2aca4d1 (patch)
tree33f240908215153e2d84fe3b65734dbd65482a1c
parentb9667c6c17590c1f63435ad8dab0554775299003 (diff)
nil->NULL
-rw-r--r--src/objective-c/GRPCClient/private/GRPCSecureChannelFactory.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCSecureChannelFactory.m b/src/objective-c/GRPCClient/private/GRPCSecureChannelFactory.m
index 90482cad21..3f2769bf44 100644
--- a/src/objective-c/GRPCClient/private/GRPCSecureChannelFactory.m
+++ b/src/objective-c/GRPCClient/private/GRPCSecureChannelFactory.m
@@ -126,7 +126,7 @@ NS_ASSUME_NONNULL_BEGIN
}
- (void)dealloc {
- if (_channelCreds != nil) {
+ if (_channelCreds != NULL) {
grpc_channel_credentials_release(_channelCreds);
}
}