mirror of https://gitlab.freedesktop.org/mesa/mesa
When "dri2_wl_formats_init" fails in "dri2_initialize_wayland_swrast", the "dri2_display_destroy" function is called for clean up. However, the "dri2_egl_display" was not associated with the display in its "DriverData" field yet. The following cast in "dri2_display_destroy": struct dri2_egl_display *dri2_dpy = dri2_egl_display(disp); Expands to: _EGL_DRIVER_TYPECAST(drvname ## _display, _EGLDisplay, obj->DriverData) Crashing. Signed-off-by: José Expósito <jose.exposito89@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13972> |
||
---|---|---|
.. | ||
egl_dri2.c | ||
egl_dri2.h | ||
platform_android.c | ||
platform_android.h | ||
platform_android_mapper.cpp | ||
platform_device.c | ||
platform_drm.c | ||
platform_surfaceless.c | ||
platform_wayland.c | ||
platform_x11.c | ||
platform_x11_dri3.c | ||
platform_x11_dri3.h |