Fix memory leak in xwayland.c

This commit is contained in:
project-repo authored and Simon Zeni committed 2024-08-12 14:06:10 +00:00
1 parent 3cae2a2c01
commit e209fe2d05
1 file changed
+1
+1
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);
}