From 0c1f50168b880d1d37b06c7c7f93e6498ae9f2ad Mon Sep 17 00:00:00 2001 From: emersion Date: Wed, 30 May 2018 08:34:49 +0100 Subject: [PATCH] examples/output-layout: destroy wl_display Thanks @tobiasblass for pointing this out. See #1017. --- examples/output-layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/output-layout.c b/examples/output-layout.c index 7b847a3b8..bdc8d352e 100644 --- a/examples/output-layout.c +++ b/examples/output-layout.c @@ -284,7 +284,7 @@ int main(int argc, char *argv[]) { wl_display_run(display); wlr_texture_destroy(state.cat_texture); - wlr_renderer_destroy(state.renderer); wlr_output_layout_destroy(state.layout); + wl_display_destroy(state.display); }