mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 09:59:48 +01: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…
Reference in a new issue