Skip to content

Commit

Permalink
Fix a leak of XFIXES regions
Browse files Browse the repository at this point in the history
  • Loading branch information
yshui committed Oct 9, 2018
1 parent 9654d0b commit 6a8df0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compton.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6a8df0a

Please sign in to comment.