Fixed missing return check

This commit is contained in:
Armin Novak 2021-11-30 09:28:32 +01:00 committed by akallabeth
parent b598a7b2a3
commit e07bd77507
1 changed files with 2 additions and 0 deletions

View File

@ -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);