_RxFreePool - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntrxdef.h

VOID _RxFreePool(
   PVOID Buffer,
   PSZ   FileName,
   ULONG LineNumber
);
View the official Windows hardware development documentation

NtDoc

No description available.

Windows hardware development documentation (-rxfreepool)

_RxFreePool function

_RxFreePool releases memory that was previously allocated using _RxAllocatePoolWithTag.

Parameters

Buffer A pointer to the buffer of pool memory to be released.

FileName A pointer to the source file name where the memory allocation occurred. This parameter is not currently used.

LineNumber The line number in the source file where the memory allocation occurred. This parameter is not currently used.

Return value

None

Remarks

It is recommended that the RxFreePool macro be called instead of using this routine directly. On retail builds, this macro is defined to call ExFreePool.

Memory allocated with _RxAllocatePoolWithTag should be released by calling _RxFreePool.

The _RxFreePool routine calls ExFreePool.

Requirements

Target platform Desktop
Header Ntrxdef.h (include Ntrxdef.h)
IRQL <= APC_LEVEL

See also

_RxAllocatePoolWithTag

_RxCheckMemoryBlock