if (!device)
return_VALUE(-1);
- system = ExAllocatePool(NonPagedPool,sizeof(struct acpi_system));
+ system = ExAllocatePoolWithTag(NonPagedPool,sizeof(struct acpi_system),'IPCA');
if (!system)
return_VALUE(-14);
memset(system, 0, sizeof(struct acpi_system));
//#endif
if (result)
- ExFreePool(system);
+ ExFreePoolWithTag(system, 'IPCA');
return_VALUE(result);
}
//#endif
//
//
- ExFreePool(system);
+ ExFreePoolWithTag(system, 'IPCA');
return 0;
}