From 6a8df0ada7eae688c96cdbea258a33cda07ae4e6 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Tue, 9 Oct 2018 22:15:42 +0100 Subject: [PATCH] Fix a leak of XFIXES regions --- src/compton.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compton.c b/src/compton.c index 3b2df8ee..44f9cd2b 100644 --- a/src/compton.c +++ b/src/compton.c @@ -1958,6 +1958,7 @@ repair_win(session_t *ps, win *w) { w->g.x + w->g.border_width, w->g.y + w->g.border_width); x_fetch_region(ps, tmp, &parts); + xcb_xfixes_destroy_region(c, tmp); } w->ever_damaged = true;