diff options
author | Muxi Yan <mxyan@google.com> | 2018-10-19 09:17:11 -0700 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2018-10-19 09:17:11 -0700 |
commit | 56d605230f2d8c2ddb5670e8d0f2ede6c2aca4d1 (patch) | |
tree | 33f240908215153e2d84fe3b65734dbd65482a1c /src | |
parent | b9667c6c17590c1f63435ad8dab0554775299003 (diff) |
nil->NULL
Diffstat (limited to 'src')
-rw-r--r-- | src/objective-c/GRPCClient/private/GRPCSecureChannelFactory.m | 2 |
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); } } |