mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-22 07:02:28 +00:00
examples/output-layout: destroy wl_display
Thanks @tobiasblass for pointing this out. See #1017.
This commit is contained in:
parent
f076cc45ee
commit
0c1f50168b
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user