aboutsummaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-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;