mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 07:55:56 +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;
|
Irp = QueueEntry->Irp;
|
||||||
NpFreeClientSecurityContext(QueueEntry->ClientSecurityContext);
|
NpFreeClientSecurityContext(QueueEntry->ClientSecurityContext);
|
||||||
|
|
||||||
if (Irp && IoSetCancelRoutine(Irp, NULL))
|
if (Irp && !IoSetCancelRoutine(Irp, NULL))
|
||||||
{
|
{
|
||||||
Irp->Tail.Overlay.DriverContext[3] = NULL;
|
Irp->Tail.Overlay.DriverContext[3] = NULL;
|
||||||
|
Irp = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
ExFreePool(QueueEntry);
|
ExFreePool(QueueEntry);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue