From 8bfad71acfccd7f6fda50a7edf47a018b31afafd Mon Sep 17 00:00:00 2001 From: Felix Kratz Date: Fri, 10 Mar 2023 12:49:12 +0100 Subject: [PATCH] fix memory leak when bar is not sticky (#336) --- src/window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/window.c b/src/window.c index 7a3b08c5..75caa916 100644 --- a/src/window.c +++ b/src/window.c @@ -178,6 +178,7 @@ void window_send_to_space(struct window* window, uint64_t dsid) { if (CGPointEqualToPoint(window->origin, g_nirvana)) { SLSMoveWindow(g_connection, window->id, &g_nirvana); } + CFRelease(window_list); } void window_close(struct window* window) {