mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 03:08:05 +02:00
compositor-drm: Add missing drmModeFreeResources in drm_device_is_kms
Signed-off-by: Sergi Granell <xerpi.g.12@gmail.com> Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
parent
eaa7358403
commit
ceb5981af0
1 changed files with 2 additions and 0 deletions
|
|
@ -3055,6 +3055,8 @@ drm_device_is_kms(struct drm_backend *b, struct udev_device *device)
|
|||
b->drm.id = id;
|
||||
b->drm.filename = strdup(filename);
|
||||
|
||||
drmModeFreeResources(res);
|
||||
|
||||
return true;
|
||||
|
||||
out_res:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue