diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-07-07 09:49:18 -0700 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-07-07 09:49:18 -0700 |
commit | 4092564c33064e379e25d35c3a67f06e9fb74bde (patch) | |
tree | 01f86cc880bdc478a6a30fe792f90ac1eec578ff | |
parent | be3da35369c77ab193c5a14f0467ef2c8d6e2790 (diff) |
Fix crash under Windows
-rw-r--r-- | src/core/transport/chttp2_transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/transport/chttp2_transport.c b/src/core/transport/chttp2_transport.c index 39d4d1fd97..cb7b3e1548 100644 --- a/src/core/transport/chttp2_transport.c +++ b/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); } |