From 9f511ae942b27c0012cfa39d9950326d7e79f120 Mon Sep 17 00:00:00 2001 From: random human Date: Mon, 3 Sep 2018 05:05:18 +0530 Subject: [PATCH] Remove listener link after tablet_manager destroy --- types/tablet_v2/wlr_tablet_v2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/types/tablet_v2/wlr_tablet_v2.c b/types/tablet_v2/wlr_tablet_v2.c index e53b8051..eabf5119 100644 --- a/types/tablet_v2/wlr_tablet_v2.c +++ b/types/tablet_v2/wlr_tablet_v2.c @@ -283,6 +283,7 @@ void wlr_tablet_v2_destroy(struct wlr_tablet_manager_v2 *manager) { } wlr_signal_emit_safe(&manager->events.destroy, manager); + wl_list_remove(&manager->display_destroy.link); wl_global_destroy(manager->wl_global); free(manager); }