diff --git a/Source/OpenTK/Platform/X11/API.cs b/Source/OpenTK/Platform/X11/API.cs index 9527ae7e..be0e4a4e 100644 --- a/Source/OpenTK/Platform/X11/API.cs +++ b/Source/OpenTK/Platform/X11/API.cs @@ -1357,7 +1357,7 @@ XF86VidModeGetGammaRampSize( array[i] = (XRRScreenSize)Marshal.PtrToStructure((IntPtr)data, typeof(XRRScreenSize)); data += Marshal.SizeOf(typeof(XRRScreenSize)); } - XFree(ptr); + //XFree(ptr); // Looks like we must not free this. return array; } }