aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/security
diff options
context:
space:
mode:
authorGravatar Yang Gao <yangg@google.com>2015-01-27 11:39:14 -0800
committerGravatar Yang Gao <yangg@google.com>2015-01-27 11:39:14 -0800
commit3ed874c861765726b0a86ff610988f56e00db4a2 (patch)
tree59cd01424e74d37bdcc89d6c2a9bd3341aa3de81 /src/core/security
parentd785904d0a0bcd1b8c2a7dee7681131e8f9d3417 (diff)
parent9a9f4051203b4e8f38107d08c39b8a586e6a8dc9 (diff)
sync up with master
Diffstat (limited to 'src/core/security')
-rw-r--r--src/core/security/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/security/auth.c b/src/core/security/auth.c
index f743b25838..9d0c075bc3 100644
--- a/src/core/security/auth.c
+++ b/src/core/security/auth.c
@@ -57,7 +57,7 @@ static void on_credentials_metadata(void *user_data, grpc_mdelem **md_elems,
grpc_call_element *elem = (grpc_call_element *)user_data;
size_t i;
for (i = 0; i < num_md; i++) {
- grpc_call_element_send_metadata(elem, md_elems[i]);
+ grpc_call_element_send_metadata(elem, grpc_mdelem_ref(md_elems[i]));
}
grpc_call_next_op(elem, &((call_data *)elem->call_data)->op);
}