[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-03-08 18:30:32 +01:00
parent 9bf854455c
commit 0086992fe7
+1 -1
View File
@@ -64,7 +64,7 @@ NTAPI
IoFreeWorkItem(IN PIO_WORKITEM IoWorkItem)
{
/* Free the work item */
ExFreePool(IoWorkItem);
ExFreePoolWithTag(IoWorkItem, TAG_IOWI);
}
/*