egl/wayland: verify event queue was allocated
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 22 May 2017 10:07:53 +0000 (11:07 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 22 May 2017 14:44:38 +0000 (15:44 +0100)
commit30dc56bb5b313ae67c6e8648e23bb38c8e737488
tree336e48af30a4fb05f3ab97edf0c2b84951cdb181
parent4eb0411ed72cbe13f320b7487c2a333e513becc9
egl/wayland: verify event queue was allocated

We're already verified that 'window' wasn't NULL, I'm guessing this
allocation error is about the newly created queue.

CID: 1409754
Fixes: 03dd9a88b0b ("egl/wayland: Use per-surface event queues")
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/egl/drivers/dri2/platform_wayland.c