Fix memory leak in xwayland.c

This commit is contained in:
project-repo 2024-08-11 16:41:19 +00:00 committed by Simon Zeni
parent 3cae2a2c01
commit e209fe2d05

View File

@ -91,6 +91,7 @@ void wlr_xwayland_destroy(struct wlr_xwayland *xwayland) {
}
xwayland->server = NULL;
wlr_xwayland_shell_v1_destroy(xwayland->shell_v1);
xwm_destroy(xwayland->xwm);
free(xwayland);
}