From 104060fec57bec2a282c52f7e849f40fd1b1b45e Mon Sep 17 00:00:00 2001 From: Dean Date: Mon, 14 Mar 2022 05:55:50 +0000 Subject: Free drmDevice in get_egl_device_from_drm_fd() --- render/egl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'render') 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; -- cgit v1.2.3