/// <summary> /// Release all the unmanaged memory associated with this OclInfo /// </summary> protected override void DisposeObject() { if (_needDispose) { if (_ptr != IntPtr.Zero) { OclInvoke.oclDeviceRelease(ref _ptr); } } }