mirror of
https://github.com/yshui/picom.git
synced 2025-04-21 18:03:02 -04:00
win: fix leaking of the mask image
destroy_win_finish doesn't call win_release_images to free the images, so we need to add a release_mask call there. Related: #892 Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
ec02fc619c
commit
a9db7ab41e
1 changed files with 1 additions and 0 deletions
|
@ -2140,6 +2140,7 @@ static void destroy_win_finish(session_t *ps, struct win *w) {
|
|||
assert(mw->shadow_image != NULL);
|
||||
win_release_shadow(ps->backend_data, mw);
|
||||
}
|
||||
win_release_mask(ps->backend_data, mw);
|
||||
|
||||
// Invalidate reg_ignore of windows below this one
|
||||
// TODO(yshui) what if next_w is not mapped??
|
||||
|
|
Loading…
Add table
Reference in a new issue