From 72507f9820df9da3a7feadc722675c42e59e58a6 Mon Sep 17 00:00:00 2001 From: Vincent Vanlaer Date: Wed, 24 Jan 2018 18:14:51 +0100 Subject: Clean up session signal handler on drm init fail --- backend/drm/backend.c | 1 + 1 file changed, 1 insertion(+) (limited to 'backend') 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); -- cgit v1.2.3