Table of Contents

AKRESULT __cdecl AK::MemoryMgr::Free ( AkMemPoolId  in_poolId,
void *  in_pMemAddress  
)

Free memory from a pool.

Returns:
AK_Success if successful
See also:
Parameters:
in_poolId  ID of the memory pool
in_pMemAddress  Pointer to the start of memory allocated with Malloc

Referenced by AkDelete(), AkArrayAllocatorNoAlign< U_POOL >::Free(), AkKeyDataPtrStruct< T_KEY, T_DATA, T_ALLOC >::FreeData(), AkArray< T_ITEM, const T_ITEM &, U_POOL, TGrowBy, TMovePolicy >::GrowArray(), and AkArray< T_ITEM, const T_ITEM &, U_POOL, TGrowBy, TMovePolicy >::Term().