mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 08:30:21 +00:00
[NTOS:PNP] Use pool tagging for DEVICE_ACTION_DATA. CORE-10456
This commit is contained in:
parent
121146e651
commit
d82ccaa2a2
1 changed files with 4 additions and 2 deletions
|
@ -926,7 +926,7 @@ IopDeviceActionWorker(
|
|||
Data->Type);
|
||||
|
||||
ObDereferenceObject(Data->DeviceObject);
|
||||
ExFreePool(Data);
|
||||
ExFreePoolWithTag(Data, TAG_IO);
|
||||
KeAcquireSpinLock(&IopDeviceActionLock, &OldIrql);
|
||||
}
|
||||
IopDeviceActionInProgress = FALSE;
|
||||
|
@ -4892,7 +4892,9 @@ IoInvalidateDeviceRelations(
|
|||
PDEVICE_ACTION_DATA Data;
|
||||
KIRQL OldIrql;
|
||||
|
||||
Data = ExAllocatePool(NonPagedPool, sizeof(DEVICE_ACTION_DATA));
|
||||
Data = ExAllocatePoolWithTag(NonPagedPool,
|
||||
sizeof(DEVICE_ACTION_DATA),
|
||||
TAG_IO);
|
||||
if (!Data)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue