evas-wayland-egl: Make sure surface pointer is valid before using it
authorBenjamin Jacobs <benj@spam.thsi.be>
Thu, 9 Jun 2016 13:31:40 +0000 (09:31 -0400)
committerChris Michael <cpmichael@osg.samsung.com>
Thu, 9 Jun 2016 13:33:16 +0000 (09:33 -0400)
commit16f4c5c35aa102d2af699ab01b0c754dbae15eb1
treef825dfee6ed982c16b207f2aff34c3c1bdc93381
parent25bc0b978578482e5376937b4108db3cdd60f72b
evas-wayland-egl: Make sure surface pointer is valid before using it

Summary:
Prevents the uninitialized surface pointer to be used when
glsym_evgl_native_surface_buffer_get is NULL.

Reviewers: devilhorns

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4016

@fix
src/modules/evas/engines/wayland_egl/evas_engine.c