public void Dispose() { Marshal.FreeHGlobal(NativePointer->Binds); MemUtil.Free((IntPtr)NativePointer); NativePointer = null; GC.SuppressFinalize(this); }
public SparseImageMemoryBindInfo() { NativePointer = (Unmanaged.SparseImageMemoryBindInfo *)MemUtil.Alloc(typeof(Unmanaged.SparseImageMemoryBindInfo)); }