internal static void ADL_Main_Memory_Free(IntPtr buffer) { if (IntPtr.Zero != buffer) { Marshal.FreeCoTaskMem(buffer); } }