mirror of
https://github.com/brl/mutter.git
synced 2025-02-22 16:04:09 +00:00
window-actor: Fix a memory leak
We need to free the frame_paint_region here. https://bugzilla.gnome.org/show_bug.cgi?id=682648
This commit is contained in:
parent
6d67ee3965
commit
d8bc7f7aa1
@ -2175,6 +2175,7 @@ build_and_scan_frame_mask (MetaWindowActor *self,
|
||||
scanned_region = scan_visible_region (mask_data, stride, frame_paint_region);
|
||||
cairo_region_union (shape_region, scanned_region);
|
||||
cairo_region_destroy (scanned_region);
|
||||
cairo_region_destroy (frame_paint_region);
|
||||
}
|
||||
|
||||
cairo_destroy (cr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user