diff --git a/channels/rdpdr/client/irp.c b/channels/rdpdr/client/irp.c index d1b795ebe..694dd6b52 100644 --- a/channels/rdpdr/client/irp.c +++ b/channels/rdpdr/client/irp.c @@ -71,6 +71,8 @@ static UINT irp_complete(IRP* irp) Stream_SetPosition(irp->output, pos); error = rdpdr_send(rdpdr, irp->output); + if (error) + return error; irp->output = NULL; return irp_free(irp);