aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/security
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-01-11 14:06:16 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-01-11 14:06:16 -0800
commit3e8deb188f63f5acb0f06c1169b230f82d5eed14 (patch)
tree804a932abf0b3757b5aa6fef6db0d5fc2ae1bcb8 /src/core/lib/security
parentaa16d3f47dbfce9278491eb0a4dd9abe2e2670ab (diff)
Fix sanity: core_banned_functions
Diffstat (limited to 'src/core/lib/security')
-rw-r--r--src/core/lib/security/credentials/plugin/plugin_credentials.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/security/credentials/plugin/plugin_credentials.c b/src/core/lib/security/credentials/plugin/plugin_credentials.c
index f98c9cd8ef..c5e8d67039 100644
--- a/src/core/lib/security/credentials/plugin/plugin_credentials.c
+++ b/src/core/lib/security/credentials/plugin/plugin_credentials.c
@@ -97,8 +97,8 @@ static void plugin_md_request_metadata_ready(void *request,
} else if (num_md > 0) {
md_array = gpr_malloc(num_md * sizeof(grpc_credentials_md));
for (i = 0; i < num_md; i++) {
- md_array[i].key = grpc_slice_ref(md[i].key);
- md_array[i].value = grpc_slice_ref(md[i].value);
+ md_array[i].key = grpc_slice_ref_internal(md[i].key);
+ md_array[i].value = grpc_slice_ref_internal(md[i].value);
}
r->cb(&exec_ctx, r->user_data, md_array, num_md, GRPC_CREDENTIALS_OK,
NULL);