Skip to content
Snippets Groups Projects
Commit ace4860a authored by Emil Velikov's avatar Emil Velikov
Browse files

egl/wayland: bail out when drmGetMagic fails


Currently as the function fails, we pass uninitialized data to the
authentication function. Stop doing that and print an warning when
the function fails.

v2: Plug memory leak in error path (Eric)

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com> (v1)
Reviewed-by: default avatarEric Engestrom <eric.engestrom@intel.com>
(cherry picked from commit c59d3aa4)
parent 41671f5d
No related branches found
No related tags found
No related merge requests found
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