Fix crash under Windows

pull/2304/head^2
Craig Tiller 10 years ago
parent be3da35369
commit 4092564c33
  1. 2
      src/core/transport/chttp2_transport.c

@ -687,7 +687,7 @@ static void perform_transport_op(grpc_transport *gt, grpc_transport_op *op) {
grpc_chttp2_goaway_append(
t->global.last_incoming_stream_id,
grpc_chttp2_grpc_status_to_http2_error(op->goaway_status),
*op->goaway_message, &t->global.qbuf);
gpr_slice_ref(*op->goaway_message), &t->global.qbuf);
if (!grpc_chttp2_has_streams(t)) {
close_transport_locked(t);
}

Loading…
Cancel
Save