mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 18:09:49 +01:00
Free xwayland cursor in wlr_xwayland_destroy
One of many memory leaks detected by an asan build
This commit is contained in:
parent
879cadd34e
commit
6af748171a
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ void wlr_xwayland_destroy(struct wlr_xwayland *xwayland) {
|
|||
|
||||
wl_list_remove(&xwayland->server_destroy.link);
|
||||
wl_list_remove(&xwayland->server_ready.link);
|
||||
free(xwayland->cursor);
|
||||
|
||||
wlr_xwayland_set_seat(xwayland, NULL);
|
||||
wlr_xwayland_server_destroy(xwayland->server);
|
||||
|
|
Loading…
Reference in a new issue