Skip to content

xwayland/glamor: Clean-up GBM's screen private on failure

If we bail out initializing GBM glamor backend, the screen private for the GBM backend may remain, pointing at freed memory.

To avoid that issue, make sure to clear up the screen's private for the GBM backend.

Closes: #1785 (closed)

Merge request reports

Loading