aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Nicolas Noble <nnoble@google.com>2015-01-27 14:21:18 -0800
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-01-28 01:11:24 +0100
commit8c2be9bbff075ea8090dcf1332a1d94e21126524 (patch)
treef9d1625c38be00612cbf332b0c449c1c17c3e04e /test
parenta2fa1d778f192902feab7b8c5b8f70a7290db051 (diff)
Addressing latest comments.
Diffstat (limited to 'test')
-rw-r--r--test/core/security/json_token_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/security/json_token_test.c b/test/core/security/json_token_test.c
index 1eddfc1a58..2a9c8f88b2 100644
--- a/test/core/security/json_token_test.c
+++ b/test/core/security/json_token_test.c
@@ -341,7 +341,7 @@ static void test_jwt_encode_and_sign(void) {
GPR_ASSERT(parsed_header != NULL);
check_jwt_header(parsed_header);
offset = dot - jwt + 1;
- grpc_json_delete(parsed_header);
+ grpc_json_destroy(parsed_header);
gpr_free(scratchpad);
dot = strchr(jwt + offset, '.');
@@ -350,7 +350,7 @@ static void test_jwt_encode_and_sign(void) {
GPR_ASSERT(parsed_claim != NULL);
check_jwt_claim(parsed_claim);
offset = dot - jwt + 1;
- grpc_json_delete(parsed_claim);
+ grpc_json_destroy(parsed_claim);
gpr_free(scratchpad);
dot = strchr(jwt + offset, '.');