Share via


CComHeap::Free

Call this method to free a block of memory allocated by this memory manager.

virtual void Free( 
   void* p  
) throw( );

Parameters

  • p
    Pointer to memory previously allocated by this memory manager. NULL is a valid value and does nothing.

Remarks

Implemented using CoTaskMemFree.

Requirements

Header: atlcommem.h

See Also

Reference

CComHeap Class

CComHeap::Allocate

CComHeap::Reallocate