Skip to content
Commit bf14779a authored by Emil Velikov's avatar Emil Velikov Committed by Juan A. Suarez Romero
Browse files

egl/wayland: plug memory leak in drm_handle_device()



As we fail to open the node, we leak the node/device name.

v2: Log and then free() (Eric)

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Reviewed-by: default avatarEric Engestrom <eric.engestrom@intel.com>
(cherry picked from commit ce74a7bb)
parent 79c4bf0d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment