Work with error refs

pull/9626/head
Muxi Yan 8 years ago
parent 2c01070bc3
commit 9396914c14
  1. 2
      src/core/ext/transport/chttp2/transport/chttp2_transport.c

@ -1671,7 +1671,6 @@ void grpc_chttp2_maybe_complete_recv_message(grpc_exec_ctx *exec_ctx,
&s->frame_storage);
grpc_slice_buffer_reset_and_unref_internal(
exec_ctx, &s->unprocessed_incoming_frames_buffer);
GRPC_ERROR_UNREF(error);
break;
} else if (*s->recv_message != NULL) {
break;
@ -1684,6 +1683,7 @@ void grpc_chttp2_maybe_complete_recv_message(grpc_exec_ctx *exec_ctx,
*s->recv_message = NULL;
null_then_run_closure(exec_ctx, &s->recv_message_ready, GRPC_ERROR_NONE);
}
GRPC_ERROR_UNREF(error);
}
}

Loading…
Cancel
Save