Files
xserver/dix
stefan11111 1530c7de53 glxmor/glamor_egl: Move glamor_egl_close_screen to the post screen close hook
We want drivers' close screen hooks to be called before glamor's close screen
hook, because they may have gbm bo's created with glamor's gbm device.
If we free the gbm device before the driver frees all gbm bo's, then the
drivers could have an use-after-free when freeing the bo's.

This fixes a memory leak, since before this change, we were just
leaking everything glamor mapped to a screen, not freeing EGLImages,
gbm devices, etc.

Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
2026-04-02 10:13:02 +02:00
..
2025-11-11 10:46:29 +01:00
2026-01-31 16:16:19 +01:00
2025-11-20 17:42:29 +01:00
2025-11-11 10:46:29 +01:00
2026-03-16 13:11:07 +01:00
2025-12-19 12:01:03 +01:00
2026-03-16 13:11:07 +01:00
2025-11-20 19:22:35 +01:00
2025-12-19 11:58:53 +01:00
2026-03-16 13:11:07 +01:00
2025-11-25 18:26:02 +01:00
2026-01-31 16:20:28 +01:00
2026-01-31 16:16:19 +01:00
2026-01-31 16:20:28 +01:00