func output_destroy_notify add free

This commit is contained in:
yizixiao 2022-08-17 13:36:33 +08:00 committed by Consolatis
parent 0b0e438adb
commit 46fb3c3dec

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