mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-26 06:35:58 +01:00
examples/output-layout: destroy wl_display
Thanks @tobiasblass for pointing this out. See #1017.
This commit is contained in:
parent
f076cc45ee
commit
0c1f50168b
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue