egl: avoid dereferencing a null display
authorEric Engestrom <eric@engestrom.ch>
Sun, 7 May 2017 22:44:12 +0000 (23:44 +0100)
committerEric Engestrom <eric@engestrom.ch>
Mon, 8 May 2017 10:43:36 +0000 (11:43 +0100)
commitdc795f85a56ee95f16ef33c7cf6b373506c9b0d6
treedf0bdd296111f2cc1e36c374b763e12b23486555
parent9c70537a52da2455c06c660ef40f20c69b08df16
egl: avoid dereferencing a null display

Fixes: ddb99127a6f6c ("egl/x11: Honor the EGL_PLATFORM_X11_SCREEN_EXT attribute")
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/egl/main/egldisplay.c