commit 4f4c540bb9ec47c77ff30e1a7ddd7d00d63c67b2 parent 8e3f5364d366fcabc16e142fbb09b0d9c376f3f4 Author: Leonardo Hernández Hernández <leohdz172@proton.me> Date: Thu, 16 Nov 2023 21:00:16 -0600 prevent a use-after-free at exit Diffstat:
| M | dwl.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/dwl.c b/dwl.c @@ -627,6 +627,7 @@ cleanup(void) { #ifdef XWAYLAND wlr_xwayland_destroy(xwayland); + xwayland = NULL; #endif wl_display_destroy_clients(dpy); if (child_pid > 0) {