Destroy layout after display in examples/output-layout

This commit is contained in:
random human 2018-09-03 03:27:28 +05:30
parent 568b0ffe2c
commit ef5df78a27
No known key found for this signature in database
GPG Key ID: 73E5A60444CC77A3

View File

@ -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);
}