diff options
author | Mark D. Roth <roth@google.com> | 2016-05-06 09:12:39 -0700 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2016-05-06 09:12:39 -0700 |
commit | 067cce56d4158031ea40f2f91a2e3839ebe2bbec (patch) | |
tree | 95f017bd57b5e5ee07bca5de49f467e599fb1eff /test/core/bad_client | |
parent | f2f707ca5503249e637542d7b3015c3fef2e3023 (diff) |
Fix asan test failure.
Diffstat (limited to 'test/core/bad_client')
-rw-r--r-- | test/core/bad_client/tests/large_metadata.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/core/bad_client/tests/large_metadata.c b/test/core/bad_client/tests/large_metadata.c index b3521439f5..1a8d2a2987 100644 --- a/test/core/bad_client/tests/large_metadata.c +++ b/test/core/bad_client/tests/large_metadata.c @@ -433,6 +433,7 @@ static void server_verifier_sends_too_much_metadata(grpc_server *server, cq_expect_completion(cqv, tag(102), 0); // Operation fails. cq_verify(cqv); + gpr_free((char *)meta.value); grpc_metadata_array_destroy(&request_metadata_recv); grpc_call_details_destroy(&call_details); grpc_call_destroy(s); @@ -469,6 +470,7 @@ static void client_validator(gpr_slice_buffer *incoming) { *p++ = 11; // Compare actual and expected. GPR_ASSERT(gpr_slice_cmp(last_frame, expected) == 0); + gpr_slice_buffer_destroy(&last_frame_buffer); } int main(int argc, char **argv) { |