cudaDensePyrLKOpticalFlowRelease() private method

private cudaDensePyrLKOpticalFlowRelease ( IntPtr &flow ) : void
flow IntPtr
return void
 /// <summary>
 /// Release all the unmanaged memory associated with this optical flow solver.
 /// </summary>
 protected override void DisposeObject()
 {
     if (_ptr != IntPtr.Zero)
     {
         CudaInvoke.cudaDensePyrLKOpticalFlowRelease(ref _ptr);
         _denseFlow = IntPtr.Zero;
     }
 }