Frees the memory referenced by ptr.
- ptr
- A IntPtr containing the address of a block of memory previously returned by UnixMarshal.AllocHeap or UnixMarshal.ReAllocHeap.
If ptr is IntPtr.Zero, no action occurs.
The "system heap" is where dynamic memory is allocated by the runtime C library, MSVCRT.DLL on Win32 and libc on Unix platforms.
Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0