Signed-off-by: Sergi Granell <[email protected]>
---
libweston/compositor-drm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c
index 4cb27b1d..3f7e97e6 100644
--- a/libweston/compositor-drm.c
+++ b/libweston/compositor-drm.c
@@ -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:
--
2.12.2
_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel