/// <summary> /// Performs necessary cleanup of the unmanaged data when it is no longer needed. /// </summary> /// <param name="pNativeData">A pointer to the unmanaged data to be destroyed. </param> public void CleanUpNativeData(IntPtr pNativeData) { MarshalUtils.SafeFreeHGlobal(pNativeData); }