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
1 changed files with 1 additions and 0 deletions

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;