PREfast Warning 252 (Windows CE 5.0)
252 - Untagged pool allocation.
Consequence: Interferes with debugging.
This warning is specific to Windows NT kernel-mode code.
This warning indicates that all pool allocations should use tags to assist debugging memory leaks and pool corrupting events.
For example, a call to ExAllocatePool should be changes to a call to ExAllocatePoolWithTag. Similarly, a call to ExAllocatePoolWithQuota should be changed to a call to ExAllocatePoolWithQuotaTag.
Example
Defective Source
ExAllocatePool(0,
512);
Corrected Source
ExAllocatePoolWithTag(0,
512,
'kael');
Send Feedback on this topic to the authors