Returns memory to the free pool.
void FreeMemToMemLists( List *l, void *p, int32 size )
The procedure returns a block of memory that was allocated with AllocMemFromMemLists()
to the specified free memory pool (a list of memory lists).
Note: Unless you are trying to move memory from one memory pool to another, you should always free memory to the same pool that you obtained it from.
Folio call implemented in kernel folio V20.
You can enable memory debugging in your application by compiling your entire project with the MEMDEBUG value defined on the compiler's command-line. Refer to the CreateMemDebug()
function for more details.
AllocMem
(), AllocMemFromMemLists(), FreeMem()