aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDean <wingdeans@protonmail.com>2022-03-14 05:55:50 +0000
committerDean <wingdeans@protonmail.com>2022-03-14 05:55:50 +0000
commit104060fec57bec2a282c52f7e849f40fd1b1b45e (patch)
treecd9a732d87c84f5a782534bc7f88f920ae351c2d
parent5c17452ae008d001b2529a6437916ea17403588d (diff)
Free drmDevice in get_egl_device_from_drm_fd()
-rw-r--r--render/egl.c1
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;