Fix memory leak in xwayland.c

master
project-repo 3 months ago committed by Simon Zeni
parent 3cae2a2c01
commit e209fe2d05

@ -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…
Cancel
Save