mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 07:48:07 +02:00
vulkan/device_select_wayland: fix a memory leak with DRM device handling
Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18076>
This commit is contained in:
parent
995480a3f7
commit
163390d762
1 changed files with 2 additions and 0 deletions
|
|
@ -137,6 +137,8 @@ int device_select_find_wayland_pci_default(struct device_pci_info *devices, uint
|
|||
if (default_idx != -1)
|
||||
break;
|
||||
}
|
||||
|
||||
drmFreeDevice(&info.dev_info);
|
||||
}
|
||||
|
||||
if (info.wl_drm)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue