examples/output-layout: destroy wl_display

Thanks @tobiasblass for pointing this out. See #1017.
This commit is contained in:
emersion 2018-05-30 08:34:49 +01:00
parent f076cc45ee
commit 0c1f50168b
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -284,7 +284,7 @@ int main(int argc, char *argv[]) {
wl_display_run(display); wl_display_run(display);
wlr_texture_destroy(state.cat_texture); wlr_texture_destroy(state.cat_texture);
wlr_renderer_destroy(state.renderer);
wlr_output_layout_destroy(state.layout); wlr_output_layout_destroy(state.layout);
wl_display_destroy(state.display);
} }