aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/wlr_drm_lease_v1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/types/wlr_drm_lease_v1.c b/types/wlr_drm_lease_v1.c
index 315c5ff9..463e2918 100644
--- a/types/wlr_drm_lease_v1.c
+++ b/types/wlr_drm_lease_v1.c
@@ -126,6 +126,7 @@ static void drm_lease_device_v1_destroy(
}
wl_list_remove(&device->link);
+ wl_list_remove(&device->backend_destroy.link);
wlr_global_destroy_safe(device->global);
free(device);