diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-11-16 21:00:16 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-11-17 11:03:30 -0600 |
commit | 4f4c540bb9ec47c77ff30e1a7ddd7d00d63c67b2 (patch) | |
tree | 8010c5fda70fb8420f021e0b16920109ea06d20e | |
parent | 8e3f5364d366fcabc16e142fbb09b0d9c376f3f4 (diff) |
prevent a use-after-free at exit
-rw-r--r-- | dwl.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -627,6 +627,7 @@ cleanup(void) { #ifdef XWAYLAND wlr_xwayland_destroy(xwayland); + xwayland = NULL; #endif wl_display_destroy_clients(dpy); if (child_pid > 0) { |