GHOST/X11 - free memory allocated by XF86VidModeGetAllModeLines(),
Comment from Zr says this crashes but looks like this was because there was no check if the function failed to allocate to begin with.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54800 954f8c5b-7b00-dc11-b283-0030488c597c