Emgu.CV.StructuringElementEx.DisposeObject C# (CSharp) Method

DisposeObject() protected method

Release the unmanaged memory associated to this object
protected DisposeObject ( ) : void
return void
        protected override void DisposeObject()
        {
            CvInvoke.cvReleaseStructuringElement(ref _ptr);
             if (_handle.IsAllocated)
            _handle.Free();
        }