aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-05-30 08:34:49 +0100
committeremersion <contact@emersion.fr>2018-05-30 08:34:49 +0100
commit0c1f50168b880d1d37b06c7c7f93e6498ae9f2ad (patch)
treef326e59fe921c276b7473b3451e271e8c6208df6 /examples
parentf076cc45ee9e5483323de62c58494abe72357b20 (diff)
examples/output-layout: destroy wl_display
Thanks @tobiasblass for pointing this out. See #1017.
Diffstat (limited to 'examples')
-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);
}