aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/drm/backend.c')
-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 112b2b61..c0e49f18 100644
--- a/backend/drm/backend.c
+++ b/backend/drm/backend.c
@@ -168,6 +168,7 @@ struct wlr_backend *wlr_drm_backend_create(struct wl_display *display,
return &drm->backend;
error_event:
+ wl_list_remove(&drm->session_signal.link);
wl_event_source_remove(drm->drm_event);
error_fd:
wlr_session_close_file(drm->session, drm->fd);