Mono.Unix.Native
Stdlib
free
Mono.Unix.Native.Stdlib.free Method
Free allocated memory.
Syntax
public static
void
free
(
IntPtr
ptr)
Parameters
ptr
The start of a memory area to free.
Remarks
The
free
() function causes the allocated memory referenced by
ptr
to be made available for future allocations. If
ptr
is
IntPtr.Zero
, no action occurs.
Requirements
Namespace:
Mono.Unix.Native
Assembly:
Mono.Posix (in Mono.Posix.dll)
Assembly Versions:
1.0.5000.0, 2.0.0.0, 4.0.0.0