diff options
author | Dean <wingdeans@protonmail.com> | 2022-03-14 05:55:50 +0000 |
---|---|---|
committer | Dean <wingdeans@protonmail.com> | 2022-03-14 05:55:50 +0000 |
commit | 104060fec57bec2a282c52f7e849f40fd1b1b45e (patch) | |
tree | cd9a732d87c84f5a782534bc7f88f920ae351c2d /render/egl.c | |
parent | 5c17452ae008d001b2529a6437916ea17403588d (diff) |
Free drmDevice in get_egl_device_from_drm_fd()
Diffstat (limited to 'render/egl.c')
-rw-r--r-- | render/egl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/render/egl.c b/render/egl.c index d5d6cfb7..81ce3b26 100644 --- a/render/egl.c +++ b/render/egl.c @@ -440,6 +440,7 @@ static EGLDeviceEXT get_egl_device_from_drm_fd(struct wlr_egl *egl, } } + drmFreeDevice(&device); free(devices); return egl_device; |