mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Fix memory leak in xwayland.c
This commit is contained in:
parent
3cae2a2c01
commit
e209fe2d05
1 changed files with 1 additions and 0 deletions
|
|
@ -91,6 +91,7 @@ void wlr_xwayland_destroy(struct wlr_xwayland *xwayland) {
|
||||||
}
|
}
|
||||||
xwayland->server = NULL;
|
xwayland->server = NULL;
|
||||||
wlr_xwayland_shell_v1_destroy(xwayland->shell_v1);
|
wlr_xwayland_shell_v1_destroy(xwayland->shell_v1);
|
||||||
|
xwm_destroy(xwayland->xwm);
|
||||||
free(xwayland);
|
free(xwayland);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue