diff options
author | Nathan Herring <nherring@google.com> | 2018-09-11 09:32:06 +0200 |
---|---|---|
committer | Nathan Herring <nherring@google.com> | 2018-09-11 09:32:06 +0200 |
commit | 916a686ef3b69a9036ed0423c62a2ce1c53ef062 (patch) | |
tree | 1857f593a7ec5c8cd92664ab1dbafce9bd2a34ef /test/cpp | |
parent | 2d8c682cac54ff2f6024a4b629b1f12be41fca9e (diff) |
Revert "Use grpc_slice_unref_internal"
This reverts commit 147826a909cc60d963c34b919417ce7a888e29ce.
Diffstat (limited to 'test/cpp')
-rw-r--r-- | test/cpp/util/cli_credentials.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/util/cli_credentials.cc b/test/cpp/util/cli_credentials.cc index d48b94ad85..1125b2d945 100644 --- a/test/cpp/util/cli_credentials.cc +++ b/test/cpp/util/cli_credentials.cc @@ -121,7 +121,7 @@ CliCredentials::GetChannelCredentials() const { grpc_load_file(FLAGS_ssl_client_cert.c_str(), 1, &cert_slice)); ssl_creds_options.pem_cert_chain = grpc::StringFromCopiedSlice(cert_slice); - grpc_slice_unref_internal(cert_slice); + grpc_slice_unref(cert_slice); } if (!FLAGS_ssl_client_key.empty()) { grpc_slice key_slice = grpc_empty_slice(); @@ -130,7 +130,7 @@ CliCredentials::GetChannelCredentials() const { grpc_load_file(FLAGS_ssl_client_key.c_str(), 1, &key_slice)); ssl_creds_options.pem_private_key = grpc::StringFromCopiedSlice(key_slice); - grpc_slice_unref_internal(key_slice); + grpc_slice_unref(key_slice); } return grpc::SslCredentials(ssl_creds_options); } else if (FLAGS_channel_creds_type.compare("gdc") == 0) { |