Fix a memset on a non-trivial object.

pull/18380/head
Nicolas "Pixel" Noble 6 years ago
parent bd68cbcd24
commit 32b9e52453
  1. 1
      src/core/ext/transport/chttp2/transport/chttp2_transport.cc

@ -2476,7 +2476,6 @@ static grpc_error* try_http_parsing(grpc_chttp2_transport* t) {
size_t i = 0;
grpc_error* error = GRPC_ERROR_NONE;
grpc_http_response response;
memset(&response, 0, sizeof(response));
grpc_http_parser_init(&parser, GRPC_HTTP_RESPONSE, &response);

Loading…
Cancel
Save