wmressel: Check return values from XF86VidMode* for submenus
commit84ecda7f6bb245f33fcde4b96bde2b20029a5a13
authorTorrance, Douglas <dtorrance@piedmont.edu>
Mon, 6 Sep 2021 13:35:00 +0000 (6 13:35 +0000)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 6 Sep 2021 15:18:28 +0000 (6 16:18 +0100)
treea81c0046552b72ee5041fa7182a7c9acd99cb0ae
parentc32456b26fa6010bea01134882c7f1c6ba0fb77a
wmressel: Check return values from XF86VidMode* for submenus

If these functions fail to get the video mode information, then later
code may cause bad things to happen, e.g., "munmap_chunk(): invalid
pointer "when freeing vm_modelines.
wmressel/src/wmressel.c