Share via


CMemFile::Free

This function is called by CMemFile member functions.

virtual void Free( 
   BYTE * lpMem  
);

Parameters

  • lpMem
    Pointer to the memory to be deallocated*.*

Remarks

Override this function to implement custom memory deallocation. If you override this function, you'll probably want to override Alloc and Realloc as well.

Requirements

Header: afx.h

See Also

Reference

CMemFile Class

Hierarchy Chart

CMemFile::Alloc

CMemFile::Realloc