aboutsummaryrefslogtreecommitdiff
path: root/examples/output-layout.c
diff options
context:
space:
mode:
authorrandom human <random.bored.human@gmail.com>2018-09-03 03:27:28 +0530
committerrandom human <random.bored.human@gmail.com>2018-09-03 03:27:28 +0530
commitef5df78a271e1450311c6ca329b32156ce4f49e9 (patch)
treee25de42be8b24daa0a90cd4bd68451b8a11cb7a1 /examples/output-layout.c
parent568b0ffe2c84c4ac4f21287a29ec55d3530346f4 (diff)
Destroy layout after display in examples/output-layout
Diffstat (limited to 'examples/output-layout.c')
-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 3f9cf84e..2d1bc58b 100644
--- a/examples/output-layout.c
+++ b/examples/output-layout.c
@@ -291,6 +291,6 @@ int main(int argc, char *argv[]) {
wlr_texture_destroy(state.cat_texture);
- wlr_output_layout_destroy(state.layout);
wl_display_destroy(state.display);
+ wlr_output_layout_destroy(state.layout);
}