aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/bad_client
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/bad_client')
-rw-r--r--test/core/bad_client/tests/large_metadata.c2
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) {