Skip to content
Snippets Groups Projects
Commit bf556db1 authored by Jonas Ådahl's avatar Jonas Ådahl Committed by Emil Velikov
Browse files

egl/wayland: Cleanup private display connection when init fails


When failing to initializing the Wayland EGL driver, don't leak the
display server connection if it was us who created it.

Signed-off-by: default avatarJonas Ådahl <jadahl@gmail.com>
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Reviewed-by: default avatarDaniel Stone <daniels@collabora.com>
(cherry picked from commit 36179665)
parent c0709db9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment