From c9f75a53d99788e28e14d291987d51289f62d69c Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Mon, 2 Nov 2020 18:43:12 +0000 Subject: [PATCH] core: fix leak of argb_fbconfig Signed-off-by: Yuxuan Shui --- src/picom.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/picom.c b/src/picom.c index 4caa1d45..44376dd3 100644 --- a/src/picom.c +++ b/src/picom.c @@ -2226,6 +2226,8 @@ static void session_destroy(session_t *ps) { unredirect(ps); } + free(ps->argb_fbconfig); + file_watch_destroy(ps->loop, ps->file_watch_handle); ps->file_watch_handle = NULL;