aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2017-08-11 19:17:03 +0200
committerDominique Martinet <asmadeus@codewreck.org>2017-08-11 19:17:03 +0200
commit0354aaeff2b57b8e6f4ea536f78ccad605ac1327 (patch)
tree42f5e6aae34a1d00fa353e5879556cbacf4e455a /backend/drm
parent0663b6d1e1e3041d87aae4576c2c9faf5e94793e (diff)
Complete a few destroy functions
This adds missing free calls for: - drm outputs - libinput backend in general - final udev free - output mode state
Diffstat (limited to 'backend/drm')
-rw-r--r--backend/drm/backend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/drm/backend.c b/backend/drm/backend.c
index a7e6824c..8427b5ee 100644
--- a/backend/drm/backend.c
+++ b/backend/drm/backend.c
@@ -36,6 +36,7 @@ static void wlr_drm_backend_destroy(struct wlr_backend_state *drm) {
wlr_drm_resources_free(drm);
wlr_session_close_file(drm->session, drm->fd);
wl_event_source_remove(drm->drm_event);
+ list_free(drm->outputs);
free(drm);
}