Skip to content

wgbm: Don't destroy a surface if init fails

Faith Ekstrand requested to merge gfxstrand/waffle:review/fix-init-fail into master

Otherwise, we segfault trying to look up the platform from a window that was never properly initialized.

Fixes: 6695ab42 ("gbm: factor out gbm_window_{init,teardown}")

Merge request reports