egl: extra null checks for get_xcb_screen() return values
authorJuha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Mon, 8 Sep 2014 12:03:35 +0000 (15:03 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Tue, 23 Sep 2014 07:25:02 +0000 (10:25 +0300)
commit4ed23fd590b2de3dbf0a39e5f8374b395afd2902
treefd1b34ba9448693343175191e735b61e32fcfa7d
parentb9463813eeffbe3b03fbf681d0283a40ce84619a
egl: extra null checks for get_xcb_screen() return values

verify get_xcb_screen() returned pointer before using it.

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/egl/drivers/dri2/platform_x11.c