Fix a leak of XFIXES regions

This commit is contained in:
Yuxuan Shui 2018-10-09 22:15:42 +01:00
parent 9654d0bb64
commit 6a8df0ada7
1 changed files with 1 additions and 0 deletions

View File

@ -1958,6 +1958,7 @@ repair_win(session_t *ps, win *w) {
w->g.x + w->g.border_width, w->g.x + w->g.border_width,
w->g.y + w->g.border_width); w->g.y + w->g.border_width);
x_fetch_region(ps, tmp, &parts); x_fetch_region(ps, tmp, &parts);
xcb_xfixes_destroy_region(c, tmp);
} }
w->ever_damaged = true; w->ever_damaged = true;