aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/backend.c1
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;