mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Free drmDevice in get_egl_device_from_drm_fd()
This commit is contained in:
parent
5c17452ae0
commit
104060fec5
1 changed files with 1 additions and 0 deletions
|
|
@ -440,6 +440,7 @@ static EGLDeviceEXT get_egl_device_from_drm_fd(struct wlr_egl *egl,
|
|||
}
|
||||
}
|
||||
|
||||
drmFreeDevice(&device);
|
||||
free(devices);
|
||||
|
||||
return egl_device;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue