public static void DisposeList(IntPtr list) { if (list != IntPtr.Zero) NativeMagickColorCollection.DisposeList(list); }