mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 12:23:28 +00:00
[NPFS]
- Don't return a canceled IRP from NpRemoveDataQueueEntry. svn path=/trunk/; revision=64772
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user