From 328ebe8fe94cdcf016ade4122d098f28786528ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Thu, 29 Oct 2020 18:02:45 +0100 Subject: [PATCH] bar/wayland: plug memory leak: free seat name --- bar/wayland.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bar/wayland.c b/bar/wayland.c index 32bd87a..35355c4 100644 --- a/bar/wayland.c +++ b/bar/wayland.c @@ -121,6 +121,8 @@ seat_destroy(struct seat *seat) if (seat == NULL) return; + free(seat->name); + if (seat->pointer.theme != NULL) wl_cursor_theme_destroy(seat->pointer.theme); if (seat->wl_pointer != NULL)