output: remove mode link on destroy

This commit is contained in:
Jente Hidskes 2019-01-20 14:12:20 +01:00
parent 8db6b82c59
commit 2387bce647
No known key found for this signature in database
GPG key ID: 04BE5A29F32D91EA

View file

@ -180,6 +180,7 @@ handle_output_destroy(struct wl_listener *listener, void *data)
struct cg_server *server = output->server;
wl_list_remove(&output->destroy.link);
wl_list_remove(&output->mode.link);
wl_list_remove(&output->transform.link);
wl_list_remove(&output->frame.link);
free(output);