From fa0a89c35ac1c8b601c718dee9a2340f590dc596 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Tue, 26 Mar 2024 17:56:54 +0000 Subject: [PATCH] win: fix leak of tree_reply Signed-off-by: Yuxuan Shui --- src/win.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/win.c b/src/win.c index 7ddb102f..5fb2ced0 100644 --- a/src/win.c +++ b/src/win.c @@ -1857,6 +1857,7 @@ struct win *attr_ret_nonnull maybe_allocate_managed_win(session_t *ps, struct wi add_subwin_and_subscribe(&ps->subwins, &ps->c, children[i], new->base.id); } + free(tree_reply); } // Get notification when the shape of a window changes