function SysFreeMem(P: Pointer): Integer;
extern DELPHI_PACKAGE int __fastcall SysFreeMem(void * P);
Frees the memory pointed to by a specified pointer.
When implementing a custom memory manager, use SysFreeMem to free the memory pointed to by the
Note: The System unit provides a limited implementation of SysFreeMem. If the custom memory manager needs to support reference counting and objects that can be shared between processes, use the implementation of SysFreeMem, provided by the ShareMem unit. When used, ShareMem must be the first unit in the project file in order to enforce a consistent memory management model.
Warning: This is an internal function and should not be called directly by any application. Use the FreeMem function instead.