diff options
author | Hope Casey-Allen <hcaseyal@google.com> | 2018-09-08 17:48:42 -0700 |
---|---|---|
committer | Hope Casey-Allen <hcaseyal@google.com> | 2018-09-08 17:48:42 -0700 |
commit | 97cbec1c98b8660e6fd7ba2c1a2d23dff8e9030d (patch) | |
tree | 8c6a9946a9e12ab2dc529cfdb32329a510f82534 /test/core/transport | |
parent | 4181c8cd37d95421a7521b5d7ce382966c13c0c6 (diff) |
WIP. Setting md_index to 0 on grpc_linked_mdelem creation
Diffstat (limited to 'test/core/transport')
-rw-r--r-- | test/core/transport/chttp2/hpack_encoder_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/transport/chttp2/hpack_encoder_test.cc b/test/core/transport/chttp2/hpack_encoder_test.cc index 39a7973da9..ab59ee9c5b 100644 --- a/test/core/transport/chttp2/hpack_encoder_test.cc +++ b/test/core/transport/chttp2/hpack_encoder_test.cc @@ -205,7 +205,7 @@ static void verify_table_size_change_match_elem_size(const char* key, size_t elem_size = grpc_mdelem_get_size_in_hpack_table(elem, use_true_binary); size_t initial_table_size = g_compressor.table_size; grpc_linked_mdelem* e = - static_cast<grpc_linked_mdelem*>(gpr_malloc(sizeof(*e))); + static_cast<grpc_linked_mdelem*>(gpr_zalloc(sizeof(*e))); grpc_metadata_batch b; grpc_metadata_batch_init(&b); e[0].md = elem; |