mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-10-29 05:40:19 -04:00
output: remove mode link on destroy
This commit is contained in:
parent
8db6b82c59
commit
2387bce647
1 changed files with 1 additions and 0 deletions
1
output.c
1
output.c
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue