From 1478ef3202657ac274f6d9907f4dd5016e8715dd Mon Sep 17 00:00:00 2001 From: Timidger Date: Thu, 28 Dec 2017 10:54:30 -0600 Subject: Remove display_destroy on multi-backend destroy --- backend/multi/backend.c | 1 + 1 file changed, 1 insertion(+) (limited to 'backend/multi') diff --git a/backend/multi/backend.c b/backend/multi/backend.c index 07e84c01..de6035f8 100644 --- a/backend/multi/backend.c +++ b/backend/multi/backend.c @@ -42,6 +42,7 @@ static void subbackend_state_destroy(struct subbackend_state *sub) { static void multi_backend_destroy(struct wlr_backend *wlr_backend) { struct wlr_multi_backend *backend = (struct wlr_multi_backend *)wlr_backend; + wl_list_remove(&backend->display_destroy.link); struct subbackend_state *sub, *next; wl_list_for_each_safe(sub, next, &backend->backends, link) { wlr_backend_destroy(sub->backend); -- cgit v1.2.3