mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
Don't push an already freed irp to the list (in IoFreeIrp).
svn path=/trunk/; revision=15311
This commit is contained in:
@@ -1282,11 +1282,15 @@ IoFreeIrp(PIRP Irp)
|
||||
/* All lists failed, use the pool */
|
||||
List->L.FreeMisses++;
|
||||
ExFreePool(Irp);
|
||||
Irp = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
/* The free was within dhe Depth */
|
||||
InterlockedPushEntrySList(&List->L.ListHead, (PSINGLE_LIST_ENTRY)Irp);
|
||||
if (Irp)
|
||||
{
|
||||
InterlockedPushEntrySList(&List->L.ListHead, (PSINGLE_LIST_ENTRY)Irp);
|
||||
}
|
||||
}
|
||||
|
||||
DPRINT("Free done\n");
|
||||
|
||||
Reference in New Issue
Block a user