diff options
author | Chris Chamberlain <chris@chamberlain.id.au> | 2021-01-17 22:26:10 +1100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-17 12:28:55 +0100 |
commit | 6af748171a3f21c48847b53337df792576750a18 (patch) | |
tree | 4d6e0b9132340457156f9d74e789e4faac1f6518 /xwayland/xwayland.c | |
parent | 879cadd34e1f74eb026d1e210a89f9aebd7fb99a (diff) |
Free xwayland cursor in wlr_xwayland_destroy
One of many memory leaks detected by an asan build
Diffstat (limited to 'xwayland/xwayland.c')
-rw-r--r-- | xwayland/xwayland.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xwayland/xwayland.c b/xwayland/xwayland.c index 4cb103af..f0999120 100644 --- a/xwayland/xwayland.c +++ b/xwayland/xwayland.c @@ -64,6 +64,7 @@ void wlr_xwayland_destroy(struct wlr_xwayland *xwayland) { wl_list_remove(&xwayland->server_destroy.link); wl_list_remove(&xwayland->server_ready.link); + free(xwayland->cursor); wlr_xwayland_set_seat(xwayland, NULL); wlr_xwayland_server_destroy(xwayland->server); |