Mono Class Library: Mono.Unix.UnixMarshal Overview | MembersMono.Unix.UnixMarshal.FreeHeap Method |
Frees the memory referenced by ptr. [Edit]
|
- ptr
- A IntPtr containing the address of a block of memory previously returned by UnixMarshal.AllocHeap or UnixMarshal.ReAllocHeap. [Edit]
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.
[Edit]
Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0