From 3cae2a2c016dbd8cb58201106b14649a4f455694 Mon Sep 17 00:00:00 2001 From: project-repo Date: Sun, 11 Aug 2024 16:39:39 +0000 Subject: [PATCH] Fix memory leak in drm.c --- backend/drm/drm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 4104f87c..154aa99d 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -398,6 +398,7 @@ void finish_drm_resources(struct wlr_drm_backend *drm) { struct wlr_drm_plane *plane = &drm->planes[i]; drm_plane_finish_surface(plane); wlr_drm_format_set_finish(&plane->formats); + free(plane->cursor_sizes); } free(drm->planes);