Fix memory leak in xwayland.c

(cherry picked from commit e209fe2d05)
This commit is contained in:
project-repo 2024-08-11 16:41:19 +00:00 committed by Simon Zeni
parent 52834f29ad
commit 2b8f94cf09

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);
}