mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-09 13:29:46 -05: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