wayland: fix null pointer dereference on error
authorMatthew Waters <matthew@centricular.com>
Wed, 16 Mar 2016 11:19:25 +0000 (22:19 +1100)
committerMatthew Waters <matthew@centricular.com>
Wed, 16 Mar 2016 15:28:32 +0000 (02:28 +1100)
commit16dec9eaccd7aa6ebc2e123172ac05ef16e21bef
treebcbe061abfb91624c6c0b1b9eed7554ba2c6c5a7
parent96754a6d52bd62b2c72068a030c0d86b2e04b015
wayland: fix null pointer dereference on error

gnome-shell doesn't the support wl_scaler interface which makes creating a
wayland display fail creation.

Found in the generic state changes test
ext/wayland/wldisplay.c