diff options
author | Yuchen Zeng <zyc@google.com> | 2017-03-29 00:09:41 -0700 |
---|---|---|
committer | Yuchen Zeng <zyc@google.com> | 2017-03-29 00:12:16 -0700 |
commit | 7dc3629a7df53248c703e9a015604101b431e546 (patch) | |
tree | bb37f5250ee15567e556a9fac7f84a6961754437 /test/core/end2end/tests | |
parent | 22321fc7e58cd097d930a4c90fac656b98787c9d (diff) |
Fix use-after-free issue
Diffstat (limited to 'test/core/end2end/tests')
-rw-r--r-- | test/core/end2end/tests/max_connection_age.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/core/end2end/tests/max_connection_age.c b/test/core/end2end/tests/max_connection_age.c index 9b31752963..ee66d12583 100644 --- a/test/core/end2end/tests/max_connection_age.c +++ b/test/core/end2end/tests/max_connection_age.c @@ -196,9 +196,6 @@ static void test_max_age_forcibly_close(grpc_end2end_test_config config) { /* The connection should be closed immediately after the max age grace period, the in-progress RPC should fail. */ GPR_ASSERT(status == GRPC_STATUS_UNAVAILABLE); - char *details_str = grpc_slice_to_c_string(details); - gpr_log(GPR_DEBUG, "status: %d, details: %s", status, details_str); - gpr_free(details_str); GPR_ASSERT(0 == grpc_slice_str_cmp(details, "Endpoint read failed")); GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); validate_host_override_string("foo.test.google.fr:1234", call_details.host, |