From: yizixiao Date: Wed, 17 Aug 2022 05:36:33 +0000 (+0800) Subject: func output_destroy_notify add free X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=46fb3c3dec6e8b88a7f17cd010f1a304d4ab6718;p=proto%2Flabwc.git func output_destroy_notify add free --- diff --git a/src/output.c b/src/output.c index dfff53cf..35da0890 100644 --- a/src/output.c +++ b/src/output.c @@ -46,6 +46,7 @@ output_destroy_notify(struct wl_listener *listener, void *data) wl_list_remove(&output->link); wl_list_remove(&output->frame.link); wl_list_remove(&output->destroy.link); + free(output); } static void