void XMemFreeDefault(
PVOID lpAddress, ULONGLONG dwAttributes)
lpAddress
Type: PVOIDĀ
[in] Address of the memory to be freed.
dwAttributes
Type: ULONGLONGĀ
[in] Attributes of the allocation. Refer to XALLOC_ATTRIBUTES.
Two default functions are exported by kernelx: XMemAllocDefault and XMemFreeDefault. These represent the initial values of the allocation hooks. If titles choose not to provide their own allocation hooks, these system default allocators will be used instead. If titles desire to provide allocation hooks for the sake of tracking, but do not wish to implement their own allocator, they can call into the default allocator directly.
Header: Declared in xmem.h.