Free drmDevice in get_egl_device_from_drm_fd()

This commit is contained in:
Dean 2022-03-14 05:55:50 +00:00
parent 5c17452ae0
commit 104060fec5

View file

@ -440,6 +440,7 @@ static EGLDeviceEXT get_egl_device_from_drm_fd(struct wlr_egl *egl,
}
}
drmFreeDevice(&device);
free(devices);
return egl_device;