In the file rrmode.c , Must_have_memory is not set to TRUE, and all places in the code checks if xalloc() return value, except for the function RModesForScreen() . The relevant patch is attached.
Created attachment 11694 [details] [review] described patch
fixed in a46c30c3be33ffb304a885503c8aaa78396ed3d9
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.