aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/output-layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/output-layout.c b/examples/output-layout.c
index 7b847a3b..bdc8d352 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);
}