mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
Don't push an already freed irp to the list (in IoFreeIrp).
svn path=/trunk/; revision=15311
This commit is contained in:
parent
f6b3f734ac
commit
523c60c5d5
1 changed files with 5 additions and 1 deletions
|
@ -1282,12 +1282,16 @@ IoFreeIrp(PIRP Irp)
|
|||
/* All lists failed, use the pool */
|
||||
List->L.FreeMisses++;
|
||||
ExFreePool(Irp);
|
||||
Irp = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
/* The free was within dhe Depth */
|
||||
if (Irp)
|
||||
{
|
||||
InterlockedPushEntrySList(&List->L.ListHead, (PSINGLE_LIST_ENTRY)Irp);
|
||||
}
|
||||
}
|
||||
|
||||
DPRINT("Free done\n");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue