mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-23 05:15:58 +01:00
Merge pull request #360 from acrisci/bug/x11-output-free
bug: free x11 backend output in destroy
This commit is contained in:
commit
37b1e8bd25
1 changed files with 1 additions and 0 deletions
|
@ -331,6 +331,7 @@ static void output_destroy(struct wlr_output *wlr_output) {
|
||||||
|
|
||||||
eglDestroySurface(x11->egl.display, output->surf);
|
eglDestroySurface(x11->egl.display, output->surf);
|
||||||
xcb_destroy_window(x11->xcb_conn, output->win);
|
xcb_destroy_window(x11->xcb_conn, output->win);
|
||||||
|
free(wlr_output);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void output_make_current(struct wlr_output *wlr_output) {
|
static void output_make_current(struct wlr_output *wlr_output) {
|
||||||
|
|
Loading…
Reference in a new issue