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:
committed by
Quentin Glidic
parent
eaa7358403
commit
ceb5981af0
@@ -3055,6 +3055,8 @@ drm_device_is_kms(struct drm_backend *b, struct udev_device *device)
|
|||||||
b->drm.id = id;
|
b->drm.id = id;
|
||||||
b->drm.filename = strdup(filename);
|
b->drm.filename = strdup(filename);
|
||||||
|
|
||||||
|
drmModeFreeResources(res);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
out_res:
|
out_res:
|
||||||
|
|||||||
Reference in New Issue
Block a user