Remove listener link after tablet_manager destroy

This commit is contained in:
random human 2018-09-03 05:05:18 +05:30
parent 6af77e3d9e
commit 9f511ae942
No known key found for this signature in database
GPG key ID: 73E5A60444CC77A3

View file

@ -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);
}