mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[NPFS]
- Don't return a canceled IRP from NpRemoveDataQueueEntry. svn path=/trunk/; revision=64772
This commit is contained in:
parent
104149a180
commit
9bc2c3ba15
1 changed files with 2 additions and 1 deletions
|
@ -146,9 +146,10 @@ NpRemoveDataQueueEntry(IN PNP_DATA_QUEUE DataQueue,
|
|||
Irp = QueueEntry->Irp;
|
||||
NpFreeClientSecurityContext(QueueEntry->ClientSecurityContext);
|
||||
|
||||
if (Irp && IoSetCancelRoutine(Irp, NULL))
|
||||
if (Irp && !IoSetCancelRoutine(Irp, NULL))
|
||||
{
|
||||
Irp->Tail.Overlay.DriverContext[3] = NULL;
|
||||
Irp = NULL;
|
||||
}
|
||||
|
||||
ExFreePool(QueueEntry);
|
||||
|
|
Loading…
Reference in a new issue