System::Runtime::InteropServices::Marshal::FreeHGlobal method

Marshal::FreeHGlobal method

Frees unmanaged memory.

static void System::Runtime::InteropServices::Marshal::FreeHGlobal(IntPtr address)
ParameterTypeDescription
addressIntPtrPointer to the allocated memory.

See Also