Fix error unref problem

pull/12399/head
Muxi Yan 7 years ago
parent 9cd90f43dc
commit 9dba7eb6b8
  1. 2
      src/core/ext/transport/chttp2/transport/chttp2_transport.c

@ -2596,7 +2596,7 @@ static void reset_byte_stream(grpc_exec_ctx *exec_ctx, void *arg,
GRPC_ERROR_UNREF(s->byte_stream_error);
s->byte_stream_error = GRPC_ERROR_NONE;
grpc_chttp2_cancel_stream(exec_ctx, s->t, s, GRPC_ERROR_REF(error));
s->byte_stream_error = error;
s->byte_stream_error = GRPC_ERROR_REF(error);
}
}

Loading…
Cancel
Save