diff --git a/kiwmi/output.c b/kiwmi/output.c index 3783dca..a9680a7 100644 --- a/kiwmi/output.c +++ b/kiwmi/output.c @@ -65,7 +65,7 @@ output_destroy_nofity(struct wl_listener *listener, void *data) wl_list_remove(&output->link); wl_list_remove(&output->frame.link); - wl_list_remove(&output->frame.link); + wl_list_remove(&output->destroy.link); free(output); }