[NTOS:IO] IoFreeWorkItem(): Check the tag when freeing the previously pool-allocated item (#8651)

This commit is contained in:
Hermès Bélusca-Maïto
2026-01-31 18:38:29 +01:00
parent 9bf854455c
commit 0086992fe7

View File

@@ -64,7 +64,7 @@ NTAPI
IoFreeWorkItem(IN PIO_WORKITEM IoWorkItem)
{
/* Free the work item */
ExFreePool(IoWorkItem);
ExFreePoolWithTag(IoWorkItem, TAG_IOWI);
}
/*