[Mesa-dev] [PATCH] egl/dri2: only destroy created objects

Emil Velikov emil.l.velikov at gmail.com
Wed Aug 30 13:11:35 UTC 2017


On 29 August 2017 at 10:51, Michael Olbrich <m.olbrich at pengutronix.de> wrote:
> dri2_display_destroy may be called by dri2_initialize_wayland_drm() if
> initialization fails. In this case, these objects may not be initialized.
>
Only if the wayland API had some basic NULL checks ... ;-)

Thanks patch is Reviewed-by: Emil Velikov <emil.velikov at collabora.com>.
I'll add a note so we pick it for the stable branches.

-Emil


More information about the mesa-dev mailing list