CurlSharp.NativeMethods.curl_formfree C# (CSharp) Method

curl_formfree() private method

private curl_formfree ( IntPtr pForm ) : void
pForm System.IntPtr
return void
		internal static extern void curl_formfree (IntPtr pForm);

Usage Example

        private void Dispose(bool disposing)
        {
            lock (this)
            {
                if (disposing)
                {
                    // clean up managed objects
                }

                // clean up native objects
                if (_pItems[0] != IntPtr.Zero)
                {
                    NativeMethods.curl_formfree(_pItems[0]);
                }
                _pItems[0] = IntPtr.Zero;
                _pItems[1] = IntPtr.Zero;
            }
        }