- Avoid removing list entry if the list is empty in IopUnQueueIrpFromThread
CORE-8419

svn path=/trunk/; revision=66207
This commit is contained in:
Thomas Faber 2015-02-08 14:15:45 +00:00
parent a5667eedbc
commit 5a1de25f17

View file

@ -51,6 +51,8 @@ VOID
IopUnQueueIrpFromThread(IN PIRP Irp)
{
/* Remove it from the list and reset it */
if (IsListEmpty(&Irp->ThreadListEntry))
return;
RemoveEntryList(&Irp->ThreadListEntry);
InitializeListHead(&Irp->ThreadListEntry);
}