diff options
author | Vincent Vanlaer <vincent.vanlaer@skynet.be> | 2018-01-24 18:14:51 +0100 |
---|---|---|
committer | Vincent Vanlaer <vincent.vanlaer@skynet.be> | 2018-01-24 18:27:53 +0100 |
commit | 72507f9820df9da3a7feadc722675c42e59e58a6 (patch) | |
tree | 1ef02b2e62ca9555d799937ac6c82eaaf3f0a020 /backend/drm | |
parent | 7a2e9a17bae919088f4265961ad8d00fece7b870 (diff) |
Clean up session signal handler on drm init fail
Diffstat (limited to 'backend/drm')
-rw-r--r-- | backend/drm/backend.c | 1 |
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); |