func output_destroy_notify add free

This commit is contained in:
yizixiao 2022-08-17 13:36:33 +08:00
parent 921c877f79
commit 0c99bb805b

View file

@ -46,6 +46,7 @@ output_destroy_notify(struct wl_listener *listener, void *data)
wl_list_remove(&output->link); wl_list_remove(&output->link);
wl_list_remove(&output->frame.link); wl_list_remove(&output->frame.link);
wl_list_remove(&output->destroy.link); wl_list_remove(&output->destroy.link);
free(output);
} }
static void static void