Share via


IAtlMemMgr::Free

 

Call this method to free a block of memory.

Syntax

      void Free(
   void* p 
) throw( );

Parameters

  • p
    Pointer to memory previously allocated by this memory manager.

Remarks

Use this method to free memory obtained by IAtlMemMgr::Allocate or IAtlMemMgr::Reallocate.

Example

For an example, see the IAtlMemMgr Overview.

Requirements

Header: atlmem.h

See Also

IAtlMemMgr Class