From 128ae9aa7c7ebc0d94996374f9ac32712053c232 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 13 Nov 2020 23:11:07 +0100 Subject: main: use wl_output_release() instead of wl_output_destroy() --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 3d626e7..3403fc1 100644 --- a/main.c +++ b/main.c @@ -143,7 +143,7 @@ output_destroy(struct output *output) if (output->surf != NULL) wl_surface_destroy(output->surf); if (output->wl_output != NULL) - wl_output_destroy(output->wl_output); + wl_output_release(output->wl_output); } static void -- cgit v1.2.3