diff options
author | MarkusVolk <f_l_k@t-online.de> | 2021-10-27 14:25:25 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-10-27 14:54:01 +0200 |
commit | ebe3cfaceb77ca3b446fa52af6aedc89c98770e5 (patch) | |
tree | b26014ae75ea034b960098ecd2087f962b2ec29a /backend | |
parent | cbedbd0fc09072948380a5fe69537c94af9fb18a (diff) |
backend.c: do not try to explicitly clean up the libinput backend
Since libinput is an optional dependency the libinput backend is possibly undeclared.
wlr_backend_destroy(backend) below will clean up the child libinput backend if any.
Diffstat (limited to 'backend')
-rw-r--r-- | backend/backend.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/backend/backend.c b/backend/backend.c index 9d40c54f..f8fa45c4 100644 --- a/backend/backend.c +++ b/backend/backend.c @@ -463,7 +463,6 @@ struct wlr_backend *wlr_backend_autocreate(struct wl_display *display) { attempt_drm_backend(display, backend, multi->session); if (!primary_drm) { wlr_log(WLR_ERROR, "Failed to open any DRM device"); - wlr_backend_destroy(libinput); wlr_session_destroy(multi->session); wlr_backend_destroy(backend); return NULL; |